結果
| 問題 |
No.3198 Monotonic Query
|
| コンテスト | |
| ユーザー |
miztom
|
| 提出日時 | 2025-07-11 21:35:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 174 bytes |
| コンパイル時間 | 205 ms |
| コンパイル使用メモリ | 82,668 KB |
| 実行使用メモリ | 67,516 KB |
| 最終ジャッジ日時 | 2025-07-11 21:35:27 |
| 合計ジャッジ時間 | 2,945 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 21 |
ソースコード
from atcoder.segtree import*
s=SegTree(max,p:=0,q:=int(input()))
for i in range(q):
q,x=map(int,input().split())
if q==1:s.set(p,x);p+=1
else:print(s.prod(p-x,p))
miztom