結果
| 問題 |
No.2282 Boxed Nim
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2023-04-28 21:23:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| コンパイル時間 | 608 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 84,096 KB |
| 最終ジャッジ日時 | 2024-11-17 20:22:51 |
| 合計ジャッジ時間 | 1,675 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 11 |
ソースコード
def solve():
N=int(input())
if N%2==1:
return True
A=list(map(int,input().split()))
A.sort()
return any(A[2*i]!=A[2*i+1] for i in range(N//2))
#==================================================
print("First" if solve() else "Second")
Kazun