結果
| 問題 | No.2044 Infinite Nim |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2022-08-24 21:28:28 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 162 bytes |
| 記録 | |
| コンパイル時間 | 544 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 25,112 KB |
| 最終ジャッジ日時 | 2026-04-28 16:50:59 |
| 合計ジャッジ時間 | 6,492 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 WA * 8 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
tmp = 0
for a in A:
if a > 0:
tmp ^= a
if tmp == 0:
print("Second")
else:
print("First")
ntuda