結果
| 問題 | 
                            No.1184 Hà Nội
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2023-04-29 09:44:46 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 95 bytes | 
| コンパイル時間 | 86 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 266,208 KB | 
| 最終ジャッジ日時 | 2024-11-18 08:20:28 | 
| 合計ジャッジ時間 | 22,633 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 20 TLE * 7 | 
ソースコード
import math n,l=map(int,input().split()) nn=math.ceil(n/l) ans=(2**nn-1)%998244353 print(ans)