結果

問題 No.1208 anti primenumber game
ユーザー titiatitia
提出日時 2020-08-31 17:00:07
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 90 ms / 2,000 ms
コード長 307 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 33,848 KB
最終ジャッジ日時 2024-04-27 22:22:07
合計ジャッジ時間 4,264 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
10,624 KB
testcase_01 AC 25 ms
10,752 KB
testcase_02 AC 25 ms
10,624 KB
testcase_03 AC 26 ms
10,624 KB
testcase_04 AC 26 ms
10,752 KB
testcase_05 AC 25 ms
10,624 KB
testcase_06 AC 25 ms
10,624 KB
testcase_07 AC 25 ms
10,752 KB
testcase_08 AC 24 ms
10,752 KB
testcase_09 AC 24 ms
10,752 KB
testcase_10 AC 25 ms
10,752 KB
testcase_11 AC 26 ms
10,752 KB
testcase_12 AC 24 ms
10,752 KB
testcase_13 AC 25 ms
10,624 KB
testcase_14 AC 26 ms
10,752 KB
testcase_15 AC 84 ms
14,752 KB
testcase_16 AC 82 ms
14,624 KB
testcase_17 AC 78 ms
14,624 KB
testcase_18 AC 80 ms
14,496 KB
testcase_19 AC 80 ms
14,756 KB
testcase_20 AC 77 ms
14,624 KB
testcase_21 AC 61 ms
14,796 KB
testcase_22 AC 62 ms
14,928 KB
testcase_23 AC 58 ms
14,572 KB
testcase_24 AC 89 ms
33,720 KB
testcase_25 AC 90 ms
33,848 KB
testcase_26 AC 88 ms
33,496 KB
testcase_27 AC 89 ms
33,624 KB
testcase_28 AC 88 ms
33,500 KB
testcase_29 AC 88 ms
33,500 KB
testcase_30 AC 62 ms
14,628 KB
testcase_31 AC 63 ms
14,628 KB
testcase_32 AC 58 ms
14,628 KB
testcase_33 AC 59 ms
14,624 KB
testcase_34 AC 59 ms
14,756 KB
testcase_35 AC 58 ms
14,632 KB
testcase_36 AC 51 ms
13,520 KB
testcase_37 AC 59 ms
14,756 KB
testcase_38 AC 83 ms
27,112 KB
testcase_39 AC 84 ms
26,780 KB
testcase_40 AC 89 ms
32,936 KB
testcase_41 AC 64 ms
15,868 KB
testcase_42 AC 61 ms
16,184 KB
testcase_43 AC 61 ms
16,064 KB
testcase_44 AC 63 ms
16,064 KB
testcase_45 AC 64 ms
16,044 KB
testcase_46 AC 55 ms
13,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N,M=map(int,input().split())
A=list(map(int,input().split()))

for i in range(N):
    if A[i]>1:
        if i%2==0:
            print("First")
        else:
            print("Second")
        sys.exit()

if N%2==0 or M!=0:
    print("Second")
else:
    print("First")
0