結果

問題 No.3586 Divide and Be Conquered
コンテスト
ユーザー iastm
提出日時 2026-07-11 01:24:03
言語 PyPy3
(7.3.17)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
WA  
実行時間 -
コード長 221 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 1,783 ms
コンパイル使用メモリ 95,848 KB
実行使用メモリ 114,560 KB
最終ジャッジ日時 2026-07-11 01:24:10
合計ジャッジ時間 5,216 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 8 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

for _ in range(int(input())):
    N = int(input())
    A = [int(x) for x in input().split()]
    nim = 0
    for a in A:
        nim ^= a % 5 in (2, 3)
    if nim:
        print("First")
    else:
        print("Second")
0