結果
| 問題 |
No.1184 Hà Nội
|
| コンテスト | |
| ユーザー |
Chihaya_chan
|
| 提出日時 | 2020-09-01 23:57:53 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 120 bytes |
| コンパイル時間 | 116 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-20 22:11:41 |
| 合計ジャッジ時間 | 2,011 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 27 |
ソースコード
import math N, L = map(int, input().split()) mod = 998244353 cnt = N//L + (N%L == 0) print((pow(2, cnt, mod) - 1) % mod)
Chihaya_chan