結果

問題 No.2282 Boxed Nim
ユーザー SPD_9X2
提出日時 2023-04-28 21:35:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 66 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 82,816 KB
最終ジャッジ日時 2024-11-17 20:33:32
合計ジャッジ時間 2,077 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

A = list(map(int,input().split()))

ans = 0

for i in A:
    if i == 0:
        ans ^= 1

if ans == 0:
    print ("Second")
else:
    print ("First")
0