結果

問題 No.1852 Divide or Reduce
ユーザー ytft
提出日時 2022-03-14 12:13:19
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 253 bytes
コンパイル時間 383 ms
コンパイル使用メモリ 82,108 KB
実行使用メモリ 140,648 KB
最終ジャッジ日時 2024-09-19 22:13:26
合計ジャッジ時間 6,351 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 5 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,math
input=lambda:sys.stdin.readline().rstrip()
def solve():
	N=int(input())
	A=list(map(int,input().split()))
	S=sum([i%2 for i in A])
	print(['First','Second'][S==N or A.count(1)>0 and (N-S)%2==0])
T=int(input())
for i in range(T):
	solve()
0