結果
| 問題 | No.2282 Boxed Nim |
| コンテスト | |
| ユーザー |
okapin
|
| 提出日時 | 2023-04-28 21:39:28 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 47 ms / 2,000 ms |
| コード長 | 157 bytes |
| 記録 | |
| コンパイル時間 | 395 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 83,584 KB |
| 最終ジャッジ日時 | 2026-05-12 14:50:04 |
| 合計ジャッジ時間 | 2,070 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
res = 0
for i in a:
if i == 0:
res ^= 1
if res:
print('First')
else:
print('Second')
okapin