結果

問題 No.2619 Sorted Nim
ユーザー nikoro256nikoro256
提出日時 2024-01-27 00:37:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 436 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 111,700 KB
最終ジャッジ日時 2024-01-27 00:37:38
合計ジャッジ時間 7,758 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,460 KB
testcase_01 AC 38 ms
53,460 KB
testcase_02 AC 86 ms
100,884 KB
testcase_03 AC 88 ms
106,936 KB
testcase_04 AC 80 ms
101,084 KB
testcase_05 AC 80 ms
100,956 KB
testcase_06 AC 100 ms
103,100 KB
testcase_07 WA -
testcase_08 AC 93 ms
111,676 KB
testcase_09 WA -
testcase_10 AC 88 ms
106,960 KB
testcase_11 WA -
testcase_12 AC 85 ms
106,456 KB
testcase_13 WA -
testcase_14 AC 88 ms
106,960 KB
testcase_15 WA -
testcase_16 AC 95 ms
111,700 KB
testcase_17 WA -
testcase_18 AC 92 ms
108,592 KB
testcase_19 WA -
testcase_20 AC 80 ms
100,848 KB
testcase_21 AC 100 ms
103,124 KB
testcase_22 AC 82 ms
101,648 KB
testcase_23 AC 87 ms
106,468 KB
testcase_24 AC 94 ms
111,516 KB
testcase_25 AC 94 ms
111,660 KB
testcase_26 AC 87 ms
105,492 KB
testcase_27 AC 80 ms
100,872 KB
testcase_28 AC 103 ms
103,136 KB
testcase_29 AC 94 ms
111,528 KB
testcase_30 AC 84 ms
105,808 KB
testcase_31 AC 37 ms
53,460 KB
testcase_32 WA -
testcase_33 WA -
testcase_34 AC 81 ms
101,084 KB
testcase_35 WA -
testcase_36 AC 88 ms
106,948 KB
testcase_37 AC 37 ms
53,460 KB
testcase_38 AC 82 ms
101,120 KB
testcase_39 AC 92 ms
108,580 KB
testcase_40 AC 82 ms
101,764 KB
testcase_41 WA -
testcase_42 AC 80 ms
100,824 KB
testcase_43 AC 91 ms
108,568 KB
testcase_44 AC 86 ms
106,312 KB
testcase_45 AC 91 ms
108,568 KB
testcase_46 AC 84 ms
105,504 KB
testcase_47 AC 80 ms
100,896 KB
testcase_48 AC 37 ms
53,460 KB
testcase_49 AC 86 ms
104,824 KB
testcase_50 AC 80 ms
100,896 KB
testcase_51 AC 89 ms
104,988 KB
testcase_52 AC 37 ms
53,460 KB
testcase_53 AC 102 ms
103,328 KB
testcase_54 AC 82 ms
101,460 KB
testcase_55 WA -
testcase_56 WA -
testcase_57 AC 92 ms
107,248 KB
testcase_58 AC 95 ms
111,480 KB
testcase_59 WA -
testcase_60 AC 84 ms
101,132 KB
testcase_61 AC 83 ms
101,612 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
lis=[A[0]]+[A[i+1]-A[i] for i in range(N-1)]
lis[::-1]
nim=0
for i in range(0,N,2):
    nim^=lis[i]
if nim==0:
    print('Second')
else:
    print('First')
0