結果
| 問題 |
No.2619 Sorted Nim
|
| コンテスト | |
| ユーザー |
ゼット
|
| 提出日時 | 2024-01-26 22:57:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 179 bytes |
| コンパイル時間 | 244 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 110,976 KB |
| 最終ジャッジ日時 | 2024-09-28 08:48:06 |
| 合計ジャッジ時間 | 6,847 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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')
ゼット