結果

問題 No.1506 Unbalanced Pocky Game
ユーザー kohei2019
提出日時 2022-06-18 12:12:23
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 145 bytes
コンパイル時間 514 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 101,352 KB
最終ジャッジ日時 2024-10-09 23:56:34
合計ジャッジ時間 7,349 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 51 RE * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ll = list(map(int,input().split()))
ans = 0
while ll[-1] == 1:
    ll.pop()
    ans ^= 1
print('Alice' if ans == 0 else 'Bob') 
0