結果
| 問題 |
No.2059 Odd Move Nim
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-09-19 17:52:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 162 bytes |
| コンパイル時間 | 332 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 102,144 KB |
| 最終ジャッジ日時 | 2024-12-22 02:32:40 |
| 合計ジャッジ時間 | 2,702 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 WA * 8 |
ソースコード
n = int(input())
a = list(map(int,input().split()))
c = 0
for i in range(2,n+1):
ai = a[i-1]
c += ai% 2
if c % 2 == 1:
print("Alice")
else:
print("Bob")