結果
| 問題 | No.2059 Odd Move Nim |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2022-08-12 19:43:07 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 66 ms / 2,000 ms |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 164 ms |
| コンパイル使用メモリ | 85,632 KB |
| 実行使用メモリ | 108,032 KB |
| 最終ジャッジ日時 | 2026-05-04 05:05:54 |
| 合計ジャッジ時間 | 2,182 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
x = 0
for i in range(1, n, 2):
x ^= a[i]
if x == 0:
print('Bob')
else:
print('Alice')
hir355