結果

問題 No.2282 Boxed Nim
ユーザー i_taku
提出日時 2023-05-17 12:19:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 375 ms
コンパイル使用メモリ 82,588 KB
実行使用メモリ 82,600 KB
最終ジャッジ日時 2024-12-15 07:06:55
合計ジャッジ時間 2,751 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 17
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline


def main():
    N = int(input())
    A = list(map(int, input().split()))
    n = N - A.count(0) + N
    print('First' if n % 2 == 1 else 'Second')


main()
0