結果
問題 |
No.8121 [Deleted]
|
ユーザー |
|
提出日時 | 2025-04-01 21:47:43 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 310 bytes |
コンパイル時間 | 257 ms |
コンパイル使用メモリ | 82,728 KB |
実行使用メモリ | 67,460 KB |
最終ジャッジ日時 | 2025-04-01 21:47:45 |
合計ジャッジ時間 | 2,265 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 1 |
other | RE * 10 |
ソースコード
from atcoder.segtree import SegTree n,q = map(int,input().split()) a = list(map(int,input().split())) st = SegTree(max, -25252525252525252525252525252525252525252521, a) for i in range(q): t,x,y = map(int,input().split()) if t == 1: st.set(t,st.get(t)+y) else: print(st.prod(x-1,y))