結果
| 問題 | No.2059 Odd Move Nim |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2022-09-02 10:06:59 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 136 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 109,056 KB |
| 最終ジャッジ日時 | 2026-05-10 12:59:43 |
| 合計ジャッジ時間 | 2,318 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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