結果

問題 No.1184 Hà Nội
コンテスト
ユーザー trineutron
提出日時 2020-08-22 13:16:06
言語 Python3
(3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
RE  
実行時間 -
コード長 94 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 58 ms
コンパイル使用メモリ 14,976 KB
実行使用メモリ 13,440 KB
最終ジャッジ日時 2026-09-18 00:21:39
合計ジャッジ時間 2,902 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 2
other RE * 27
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

n, l = map(int, input().split())
d = (n + l - 1) // l
print((pow(2, d, 998244353) - 1) % mod)
0