結果
問題 | No.2044 Infinite Nim |
ユーザー |
![]() |
提出日時 | 2022-08-19 21:52:05 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 205 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 21,348 KB |
最終ジャッジ日時 | 2024-10-08 08:19:55 |
合計ジャッジ時間 | 2,972 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 25 WA * 9 |
ソースコード
N = int(input())A = list(map(int, input().split()))if -1 in A:print("First")else:nim = 0for a in A:nim ^= aif nim:print("First")else:print("Second")