結果

問題 No.1208 anti primenumber game
ユーザー titia
提出日時 2020-08-31 16:59:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 268 bytes
コンパイル時間 205 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 33,856 KB
最終ジャッジ日時 2024-11-16 05:07:11
合計ジャッジ時間 5,919 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 1
other AC * 11 RE * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

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