結果

問題 No.1184 Hà Nội
ユーザー miya145592miya145592
提出日時 2023-05-15 21:08:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 100 bytes
コンパイル時間 1,442 ms
コンパイル使用メモリ 86,804 KB
実行使用メモリ 71,492 KB
最終ジャッジ日時 2023-08-20 20:38:39
合計ジャッジ時間 5,554 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,284 KB
testcase_01 AC 74 ms
71,472 KB
testcase_02 AC 74 ms
71,492 KB
testcase_03 AC 75 ms
71,072 KB
testcase_04 AC 73 ms
71,280 KB
testcase_05 AC 74 ms
71,312 KB
testcase_06 AC 74 ms
71,196 KB
testcase_07 AC 74 ms
71,064 KB
testcase_08 AC 74 ms
71,164 KB
testcase_09 AC 74 ms
71,216 KB
testcase_10 AC 72 ms
71,280 KB
testcase_11 AC 73 ms
71,280 KB
testcase_12 AC 74 ms
71,284 KB
testcase_13 AC 72 ms
71,040 KB
testcase_14 AC 73 ms
71,448 KB
testcase_15 AC 74 ms
71,236 KB
testcase_16 AC 75 ms
71,200 KB
testcase_17 AC 76 ms
71,304 KB
testcase_18 AC 75 ms
71,284 KB
testcase_19 AC 74 ms
71,052 KB
testcase_20 AC 74 ms
71,088 KB
testcase_21 AC 75 ms
71,280 KB
testcase_22 AC 74 ms
71,276 KB
testcase_23 AC 75 ms
71,432 KB
testcase_24 AC 72 ms
71,476 KB
testcase_25 AC 72 ms
71,468 KB
testcase_26 AC 75 ms
71,076 KB
testcase_27 AC 76 ms
71,048 KB
testcase_28 AC 73 ms
70,992 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 998244353
N, L = map(int, input().split())
C = N//L
if N%L>0:
    C+=1
print(pow(2, C, MOD)-1)
0