結果
| 問題 | No.2619 Sorted Nim |
| コンテスト | |
| ユーザー |
ゼット
|
| 提出日時 | 2024-01-26 22:57:52 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 92 ms / 2,000 ms |
| + 760µs | |
| コード長 | 179 bytes |
| 記録 | |
| コンパイル時間 | 225 ms |
| コンパイル使用メモリ | 96,328 KB |
| 実行使用メモリ | 119,424 KB |
| 最終ジャッジ日時 | 2026-09-05 15:13:27 |
| 合計ジャッジ時間 | 11,776 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 62 |
ソースコード
N=int(input())
A=list(map(int,input().split()))
if N%2==1:
A=[0]+A[:]
x=0
for i in range(len(A)//2):
y=A[2*i+1]-A[2*i]
x^=y
if x!=0:
print('First')
else:
print('Second')
ゼット