結果
問題 |
No.8121 [Deleted]
|
ユーザー |
|
提出日時 | 2025-04-01 21:45:27 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 353 bytes |
コンパイル時間 | 431 ms |
コンパイル使用メモリ | 81,960 KB |
実行使用メモリ | 109,344 KB |
最終ジャッジ日時 | 2025-04-01 21:45:32 |
合計ジャッジ時間 | 4,799 ms |
ジャッジサーバーID (参考情報) |
judge6 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | TLE * 1 -- * 9 |
ソースコード
n,q = map(int,input().split()) a = list(map(int,input().split())) for i in range(q): t,x,y = map(int,input().split()) if t == 1: x -= 1 a[x] += y else: ans = -25252525252525252525252525252525252525252521 for j in range(n): if x-1 <= j <= y-1: ans = max(ans,a[j]) print(ans)