結果
| 問題 |
No.1506 Unbalanced Pocky Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-15 15:32:44 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 144 bytes |
| コンパイル時間 | 167 ms |
| コンパイル使用メモリ | 82,852 KB |
| 実行使用メモリ | 105,268 KB |
| 最終ジャッジ日時 | 2024-10-03 03:40:04 |
| 合計ジャッジ時間 | 6,461 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 36 WA * 27 |
ソースコード
N = int(input())
A = list(map(int,input().split()))
players = ['Alice', 'Bob']
idx = 0
for a in A:
if a != 1:
idx ^= 1
print(players[idx])