結果
問題 |
No.1394 Changing Problems
|
ユーザー |
|
提出日時 | 2020-09-07 23:44:54 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 475 bytes |
コンパイル時間 | 220 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 104,832 KB |
最終ジャッジ日時 | 2024-07-04 19:24:00 |
合計ジャッジ時間 | 5,359 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 29 |
ソースコード
import sys input = sys.stdin.readline N = int(input()) assert(1<=N<=2*10**5) A = list(map(int,input().split())) assert(len(A)==N) assert(all(0<=A[i]<=10**9 for i in range(N))) Q = int(input()) assert(1<=Q<=2*10**5) for _ in range(Q): query = list(map(int,input().split())) if query[0]==1: assert(len(query)==3) gomi,i,x = query assert(1<=i<=N) assert(0<=x<=10**9) else: assert(len(query)==1) assert(query[0]==2)