結果
問題 |
No.2619 Sorted Nim
|
ユーザー |
![]() |
提出日時 | 2024-01-27 15:03:33 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 227 bytes |
コンパイル時間 | 266 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 109,140 KB |
最終ジャッジ日時 | 2024-09-28 09:39:31 |
合計ジャッジ時間 | 8,001 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 31 WA * 31 |
ソースコード
N = int(input()) A = list(map(int, input().split())) S = set() if N == 2: S.add(0) if N % 2: A = [0] + A for i in range(N): if i % 2: S.add(A[i] - A[i - 1]) print("First") if len(S) != 1 else print("Second")