結果
| 問題 |
No.2059 Odd Move Nim
|
| コンテスト | |
| ユーザー |
tktk_snsn
|
| 提出日時 | 2022-08-26 23:02:49 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 119 ms / 2,000 ms |
| コード長 | 143 bytes |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 32,624 KB |
| 最終ジャッジ日時 | 2024-10-15 11:07:54 |
| 合計ジャッジ時間 | 2,670 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 21 |
ソースコード
N = int(input())
A = list(map(int, input().split()))
nim = 0
for a in A[1::2]:
nim ^= a
if nim:
print("Alice")
else:
print("Bob")
tktk_snsn