結果
問題 | No.1208 anti primenumber game |
ユーザー |
![]() |
提出日時 | 2020-08-31 17:00:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 111 ms / 2,000 ms |
コード長 | 307 bytes |
コンパイル時間 | 328 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 33,592 KB |
最終ジャッジ日時 | 2024-11-16 05:08:37 |
合計ジャッジ時間 | 5,907 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 44 |
ソースコード
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")