結果
| 問題 |
No.2282 Boxed Nim
|
| コンテスト | |
| ユーザー |
okapin
|
| 提出日時 | 2023-04-28 21:39:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 157 bytes |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 82,172 KB |
| 実行使用メモリ | 83,516 KB |
| 最終ジャッジ日時 | 2024-11-17 20:38:33 |
| 合計ジャッジ時間 | 1,650 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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