結果
問題 |
No.2754 Cumulate and Drop
|
ユーザー |
|
提出日時 | 2024-05-10 22:57:03 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 155 bytes |
コンパイル時間 | 370 ms |
コンパイル使用メモリ | 82,792 KB |
実行使用メモリ | 341,088 KB |
最終ジャッジ日時 | 2024-12-20 07:04:53 |
合計ジャッジ時間 | 37,756 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 TLE * 12 |
ソースコード
N = int(input()) A = list(map(int, input().split())) while N > 1: B = [sum(A[:i+1]) for i in range(N)] A = B[1:] N -= 1 print(A[0] % 998244353)