結果
問題 |
No.2080 Simple Nim Query
|
ユーザー |
|
提出日時 | 2022-10-14 09:35:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 240 bytes |
コンパイル時間 | 468 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 39,872 KB |
最終ジャッジ日時 | 2024-06-26 12:29:22 |
合計ジャッジ時間 | 5,496 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 RE * 2 |
other | WA * 2 TLE * 1 -- * 5 |
ソースコード
n,q=list(map(int,input().split())) a=list(map(int,input().split())) for _ in range(n): t,k,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")