結果
問題 | No.2282 Boxed Nim |
ユーザー |
|
提出日時 | 2023-04-29 01:38:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 82 ms / 2,000 ms |
コード長 | 138 bytes |
コンパイル時間 | 364 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 21,616 KB |
最終ジャッジ日時 | 2024-11-18 00:08:38 |
合計ジャッジ時間 | 2,198 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
N = int(input()) A = list(map(int, input().split())) ans = 0 for a in A : if a == 0 : ans = ans ^ 1 print("First" if ans else "Second")