結果

問題 No.1208 anti primenumber game
ユーザー 👑 rin204rin204
提出日時 2022-10-30 17:19:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 281 bytes
コンパイル時間 350 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 104,636 KB
最終ジャッジ日時 2023-09-21 14:58:46
合計ジャッジ時間 9,629 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,504 KB
testcase_01 AC 72 ms
71,120 KB
testcase_02 AC 71 ms
71,444 KB
testcase_03 AC 71 ms
71,044 KB
testcase_04 AC 71 ms
71,048 KB
testcase_05 AC 71 ms
71,252 KB
testcase_06 AC 72 ms
71,536 KB
testcase_07 AC 71 ms
71,412 KB
testcase_08 AC 71 ms
71,460 KB
testcase_09 AC 72 ms
71,256 KB
testcase_10 AC 72 ms
71,364 KB
testcase_11 AC 72 ms
71,424 KB
testcase_12 AC 72 ms
71,456 KB
testcase_13 AC 71 ms
71,312 KB
testcase_14 AC 70 ms
71,368 KB
testcase_15 AC 103 ms
104,288 KB
testcase_16 AC 104 ms
104,208 KB
testcase_17 AC 104 ms
104,376 KB
testcase_18 AC 102 ms
104,192 KB
testcase_19 AC 103 ms
104,216 KB
testcase_20 AC 104 ms
104,204 KB
testcase_21 AC 101 ms
103,796 KB
testcase_22 AC 102 ms
103,848 KB
testcase_23 AC 101 ms
104,064 KB
testcase_24 AC 122 ms
102,740 KB
testcase_25 AC 123 ms
102,700 KB
testcase_26 AC 121 ms
102,000 KB
testcase_27 AC 123 ms
102,100 KB
testcase_28 AC 121 ms
101,908 KB
testcase_29 AC 122 ms
102,180 KB
testcase_30 AC 103 ms
104,288 KB
testcase_31 AC 104 ms
104,336 KB
testcase_32 AC 101 ms
103,828 KB
testcase_33 AC 101 ms
103,884 KB
testcase_34 AC 101 ms
103,824 KB
testcase_35 AC 103 ms
103,800 KB
testcase_36 AC 95 ms
97,404 KB
testcase_37 AC 101 ms
103,800 KB
testcase_38 AC 121 ms
99,980 KB
testcase_39 AC 121 ms
100,408 KB
testcase_40 AC 122 ms
102,156 KB
testcase_41 AC 105 ms
104,352 KB
testcase_42 AC 106 ms
104,236 KB
testcase_43 AC 103 ms
104,636 KB
testcase_44 AC 106 ms
104,368 KB
testcase_45 AC 103 ms
104,272 KB
testcase_46 AC 99 ms
100,472 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, m = map(int, input().split())
A = list(map(int, input().split()))

for i, a in enumerate(A):
    if a != 1:
        if i & 1:
            print("Second")
        else:
            print("First")
        exit()

if n & 1 and m == 0:
    print("First")
else:
    print("Second")

0