結果
問題 |
No.2080 Simple Nim Query
|
ユーザー |
![]() |
提出日時 | 2022-09-25 21:36:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 206 bytes |
コンパイル時間 | 115 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 33,044 KB |
最終ジャッジ日時 | 2024-12-22 14:29:48 |
合計ジャッジ時間 | 11,424 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 WA * 5 |
ソースコード
n, q = map(int, input().split()) a = list(map(int, input().split())) for _ in range(q): t, x, y = map(int, input().split()) if t == 1: a[x-1] = y elif a[y-1] > 1: print("F") else: print("S")