結果
| 問題 | No.2282 Boxed Nim |
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2023-04-28 21:23:01 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 265 bytes |
| 記録 | |
| コンパイル時間 | 241 ms |
| コンパイル使用メモリ | 84,876 KB |
| 実行使用メモリ | 85,248 KB |
| 最終ジャッジ日時 | 2026-05-12 14:39:16 |
| 合計ジャッジ時間 | 1,866 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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