結果

問題 No.2282 Boxed Nim
ユーザー i_takui_taku
提出日時 2023-05-17 12:19:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 1,017 ms
コンパイル使用メモリ 86,880 KB
実行使用メモリ 89,920 KB
最終ジャッジ日時 2023-08-21 17:34:33
合計ジャッジ時間 4,154 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,196 KB
testcase_01 AC 69 ms
71,316 KB
testcase_02 AC 70 ms
71,180 KB
testcase_03 AC 70 ms
71,408 KB
testcase_04 AC 70 ms
71,472 KB
testcase_05 AC 68 ms
71,328 KB
testcase_06 AC 69 ms
71,188 KB
testcase_07 AC 69 ms
71,388 KB
testcase_08 AC 70 ms
71,040 KB
testcase_09 AC 91 ms
89,632 KB
testcase_10 AC 91 ms
89,516 KB
testcase_11 AC 90 ms
89,700 KB
testcase_12 AC 90 ms
89,796 KB
testcase_13 AC 90 ms
89,600 KB
testcase_14 AC 88 ms
88,040 KB
testcase_15 AC 85 ms
88,072 KB
testcase_16 AC 87 ms
88,232 KB
testcase_17 AC 87 ms
88,176 KB
testcase_18 AC 86 ms
88,320 KB
testcase_19 AC 90 ms
89,920 KB
権限があれば一括ダウンロードができます

ソースコード

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