結果
| 問題 | No.2282 Boxed Nim |
| コンテスト | |
| ユーザー |
prussian_coder
|
| 提出日時 | 2023-04-28 21:22:50 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 452 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 77,312 KB |
| 最終ジャッジ日時 | 2026-05-12 14:39:12 |
| 合計ジャッジ時間 | 2,069 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 |
ソースコード
N=int(input())
A=[int(x) for x in input().split()]
b=0
for i in range(N):
if A[i]==0:
b^=1
if b==0:
print("Second")
else:
print("First")
prussian_coder