結果
| 問題 |
No.2059 Odd Move Nim
|
| コンテスト | |
| ユーザー |
taiga0629kyopro
|
| 提出日時 | 2022-08-21 18:11:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 100 ms / 2,000 ms |
| コード長 | 154 bytes |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 82,004 KB |
| 実行使用メモリ | 102,020 KB |
| 最終ジャッジ日時 | 2024-10-15 11:03:53 |
| 合計ジャッジ時間 | 2,770 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 |
ソースコード
n=int(input())
a=[0]+list(map(int,input().split()))
ans=0
for i in range(2,n+1):
if i%2:continue
ans^=a[i]
print("Alice" if ans else "Bob")
taiga0629kyopro