結果
| 問題 |
No.2619 Sorted Nim
|
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-01-26 23:09:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 143 ms / 2,000 ms |
| コード長 | 148 bytes |
| コンパイル時間 | 438 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 32,896 KB |
| 最終ジャッジ日時 | 2024-09-28 08:59:51 |
| 合計ジャッジ時間 | 9,944 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 62 |
ソースコード
n = int(input())
a = [0]*(n%2)+list(map(int,input().split()))
x = 0
for i in range((n+1)//2): x ^= a[2*i+1]-a[2*i]
print("First" if x else "Second")
ニックネーム