結果
| 問題 |
No.2619 Sorted Nim
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-01-26 22:46:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 104 ms / 2,000 ms |
| コード長 | 206 bytes |
| コンパイル時間 | 179 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 118,016 KB |
| 最終ジャッジ日時 | 2024-09-28 08:40:59 |
| 合計ジャッジ時間 | 7,487 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 62 |
ソースコード
n = int(input())
A = list(map(int, input().split()))
B = []
b = 0
for a in A:
B.append(a - b)
b = a
x = 0
for a in B[::-1][0::2]:
x ^= a
if x == 0:
print("Second")
else:
print("First")