結果
| 問題 |
No.2059 Odd Move Nim
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2022-09-02 10:06:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 142 bytes |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 81,884 KB |
| 実行使用メモリ | 102,372 KB |
| 最終ジャッジ日時 | 2024-11-15 15:20:01 |
| 合計ジャッジ時間 | 3,450 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 10 WA * 11 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
tmp = 0
for a in A[::2]:
tmp ^= a
if a == 0:
print("Bob")
else:
print("Alice")
ntuda