結果
| 問題 | No.2080 Simple Nim Query |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-14 09:35:09 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 240 bytes |
| 記録 | |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 21,668 KB |
| 実行使用メモリ | 36,912 KB |
| 最終ジャッジ日時 | 2026-07-30 13:14:18 |
| 合計ジャッジ時間 | 6,538 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")