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