結果
| 問題 | No.1506 Unbalanced Pocky Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-15 15:32:44 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 144 bytes |
| 記録 | |
| コンパイル時間 | 1,013 ms |
| コンパイル使用メモリ | 80,384 KB |
| 実行使用メモリ | 104,576 KB |
| 最終ジャッジ日時 | 2026-09-09 09:20:17 |
| 合計ジャッジ時間 | 7,230 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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])