結果

問題 No.2282 Boxed Nim
ユーザー Alex Wice
提出日時 2023-04-28 22:30:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 57 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 148 ms
コンパイル使用メモリ 82,340 KB
実行使用メモリ 84,564 KB
最終ジャッジ日時 2024-11-17 21:28:06
合計ジャッジ時間 1,708 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int, input().split()))
g = 0
for x in a:
	g ^= 1 - bool(x)
print("First" if g else "Second")
0