結果

問題 No.2044 Infinite Nim
ユーザー ニックネームニックネーム
提出日時 2022-08-19 21:44:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 155 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 21,636 KB
最終ジャッジ日時 2024-04-17 00:25:50
合計ジャッジ時間 3,333 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,624 KB
testcase_01 AC 27 ms
10,624 KB
testcase_02 AC 27 ms
10,624 KB
testcase_03 AC 31 ms
10,624 KB
testcase_04 AC 27 ms
10,752 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 27 ms
10,752 KB
testcase_08 AC 28 ms
10,752 KB
testcase_09 AC 29 ms
10,624 KB
testcase_10 AC 28 ms
10,752 KB
testcase_11 AC 28 ms
10,752 KB
testcase_12 AC 28 ms
10,624 KB
testcase_13 AC 54 ms
15,664 KB
testcase_14 AC 45 ms
13,460 KB
testcase_15 AC 40 ms
12,980 KB
testcase_16 AC 42 ms
13,568 KB
testcase_17 AC 56 ms
17,236 KB
testcase_18 AC 41 ms
13,056 KB
testcase_19 AC 43 ms
13,052 KB
testcase_20 AC 54 ms
15,468 KB
testcase_21 AC 66 ms
18,440 KB
testcase_22 AC 56 ms
15,348 KB
testcase_23 AC 45 ms
13,808 KB
testcase_24 WA -
testcase_25 AC 48 ms
14,492 KB
testcase_26 WA -
testcase_27 AC 44 ms
13,312 KB
testcase_28 AC 75 ms
19,064 KB
testcase_29 WA -
testcase_30 AC 61 ms
16,592 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 82 ms
21,636 KB
testcase_36 AC 29 ms
10,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int, input().split()))
m = x = 0
for v in a:
    if v == -1: m += 1
    else: x ^= v
print("First" if m or x%2 else "Second")
0