結果

問題 No.1184 Hà Nội
ユーザー lllllll88938494
提出日時 2022-01-18 07:57:50
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 104 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-11-23 13:17:02
合計ジャッジ時間 2,463 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 23 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import ceil
mod=998244353
n,l = map(int,input().split())

n=ceil(n/l)

print(pow(2,n,mod)-1)

0