結果

問題 No.1184 Hà Nội
ユーザー qumazaki
提出日時 2020-09-12 02:14:22
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 102 bytes
コンパイル時間 434 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 53,500 KB
最終ジャッジ日時 2024-12-29 15:14:15
合計ジャッジ時間 2,547 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 27
権限があれば一括ダウンロードができます

ソースコード

diff #

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