結果
| 問題 | No.2282 Boxed Nim |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-04-28 21:25:42 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 138 bytes |
| 記録 | |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 83,456 KB |
| 最終ジャッジ日時 | 2024-11-17 20:26:38 |
| 合計ジャッジ時間 | 1,890 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 11 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
ans = 0
for a in A:
ans ^= a
print("First") if ans or 0 in A else print("Second")
rlangevin