結果
問題 |
No.3120 Lower Nim
|
ユーザー |
|
提出日時 | 2025-04-24 14:47:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 340 bytes |
コンパイル時間 | 385 ms |
コンパイル使用メモリ | 11,904 KB |
実行使用メモリ | 41,600 KB |
最終ジャッジ日時 | 2025-04-24 14:47:48 |
合計ジャッジ時間 | 7,194 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | -- * 1 |
other | TLE * 1 -- * 42 |
ソースコード
#!/usr/bin/env python3 import sys def main(): data = sys.stdin.read().split() it = iter(data) try: N = int(next(it)) except StopIteration: return total_xor = 0 for _ in range(N): total_xor ^= int(next(it)) print("First" if total_xor else "Second") if __name__ == "__main__": main()