結果

問題 No.2044 Infinite Nim
ユーザー ntuda
提出日時 2022-08-24 21:28:28
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 21,632 KB
最終ジャッジ日時 2024-10-12 05:22:52
合計ジャッジ時間 3,749 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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")

0