結果
問題 | No.2282 Boxed Nim |
ユーザー |
|
提出日時 | 2023-04-28 22:16:36 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 171 bytes |
コンパイル時間 | 184 ms |
コンパイル使用メモリ | 82,244 KB |
実行使用メモリ | 78,156 KB |
最終ジャッジ日時 | 2024-11-17 21:13:31 |
合計ジャッジ時間 | 2,101 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 9 WA * 8 |
ソースコード
N = int(input()) sum = N for i in input().split(): i = int(i) if i == 0: sum += 1 sum = sum % 2 if sum == 0: print('Second') else: print('First')