結果
| 問題 | No.1184 Hà Nội |
| コンテスト | |
| ユーザー |
Chihaya_chan
|
| 提出日時 | 2020-09-01 23:54:02 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 117 bytes |
| 記録 | |
| コンパイル時間 | 558 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 15,360 KB |
| 最終ジャッジ日時 | 2026-05-15 03:24:23 |
| 合計ジャッジ時間 | 4,547 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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