結果

問題 No.2619 Sorted Nim
ユーザー rlangevinrlangevin
提出日時 2024-01-27 15:03:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 81,572 KB
実行使用メモリ 108,780 KB
最終ジャッジ日時 2024-01-27 15:03:42
合計ジャッジ時間 7,554 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,332 KB
testcase_01 AC 34 ms
53,332 KB
testcase_02 AC 74 ms
98,452 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 90 ms
106,936 KB
testcase_09 AC 35 ms
53,332 KB
testcase_10 AC 82 ms
103,756 KB
testcase_11 WA -
testcase_12 AC 82 ms
103,636 KB
testcase_13 AC 36 ms
53,332 KB
testcase_14 AC 83 ms
103,756 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 73 ms
96,972 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 83 ms
105,056 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 79 ms
103,312 KB
testcase_27 WA -
testcase_28 AC 93 ms
101,396 KB
testcase_29 AC 86 ms
108,580 KB
testcase_30 WA -
testcase_31 AC 34 ms
53,332 KB
testcase_32 WA -
testcase_33 AC 78 ms
101,540 KB
testcase_34 AC 73 ms
97,500 KB
testcase_35 AC 79 ms
102,080 KB
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 75 ms
98,816 KB
testcase_39 WA -
testcase_40 AC 76 ms
98,304 KB
testcase_41 WA -
testcase_42 WA -
testcase_43 AC 85 ms
105,364 KB
testcase_44 AC 87 ms
105,028 KB
testcase_45 AC 84 ms
105,364 KB
testcase_46 AC 79 ms
102,044 KB
testcase_47 AC 74 ms
98,464 KB
testcase_48 AC 35 ms
53,332 KB
testcase_49 WA -
testcase_50 AC 79 ms
98,464 KB
testcase_51 WA -
testcase_52 WA -
testcase_53 WA -
testcase_54 AC 76 ms
98,132 KB
testcase_55 WA -
testcase_56 WA -
testcase_57 WA -
testcase_58 AC 87 ms
107,124 KB
testcase_59 WA -
testcase_60 AC 74 ms
97,676 KB
testcase_61 AC 75 ms
98,280 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
S = set()
if N == 2:
    S.add(0)
if N % 2:
    A = [0] + A
for i in range(N):
    if i % 2:
        S.add(A[i] - A[i - 1])
print("First") if len(S) != 1 else print("Second")
0