結果

問題 No.2044 Infinite Nim
ユーザー ntudantuda
提出日時 2022-08-24 21:28:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 162 bytes
コンパイル時間 318 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 21,632 KB
最終ジャッジ日時 2024-04-20 09:56:30
合計ジャッジ時間 4,054 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,496 KB
testcase_01 AC 31 ms
10,368 KB
testcase_02 AC 30 ms
10,496 KB
testcase_03 AC 30 ms
10,496 KB
testcase_04 AC 30 ms
10,624 KB
testcase_05 AC 30 ms
10,624 KB
testcase_06 AC 30 ms
10,496 KB
testcase_07 AC 30 ms
10,368 KB
testcase_08 AC 31 ms
10,496 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 30 ms
10,496 KB
testcase_12 AC 30 ms
10,496 KB
testcase_13 AC 56 ms
15,660 KB
testcase_14 AC 45 ms
13,336 KB
testcase_15 AC 42 ms
12,972 KB
testcase_16 AC 45 ms
13,560 KB
testcase_17 AC 64 ms
17,244 KB
testcase_18 AC 41 ms
12,800 KB
testcase_19 AC 43 ms
12,912 KB
testcase_20 AC 56 ms
15,552 KB
testcase_21 AC 70 ms
18,304 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 64 ms
16,908 KB
testcase_25 WA -
testcase_26 AC 62 ms
16,752 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 AC 54 ms
15,240 KB
testcase_30 WA -
testcase_31 AC 78 ms
19,944 KB
testcase_32 AC 79 ms
19,820 KB
testcase_33 AC 78 ms
19,952 KB
testcase_34 AC 64 ms
17,204 KB
testcase_35 AC 82 ms
21,632 KB
testcase_36 AC 31 ms
10,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int,input().split()))
tmp = 0
for a in A:
    if a > 0:
        tmp ^= a
if tmp == 0:
    print("Second")
else:
    print("First")

0