結果
問題 |
No.2080 Simple Nim Query
|
ユーザー |
|
提出日時 | 2022-10-14 09:41:06 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 281 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 39,872 KB |
最終ジャッジ日時 | 2024-06-26 12:29:30 |
合計ジャッジ時間 | 8,216 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 2 TLE * 1 -- * 5 |
ソースコード
n,q=list(map(int,input().split())) a=list(map(int,input().split())) for _ in range(q): t,x,y=list(map(int,input().split())) if t==0: a[x-1]=y elif a[1:y-1].count('1')%2==0: print("F") else: print("S")