結果
問題 |
No.1506 Unbalanced Pocky Game
|
ユーザー |
![]() |
提出日時 | 2021-05-17 19:47:16 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 161 bytes |
コンパイル時間 | 318 ms |
コンパイル使用メモリ | 82,316 KB |
実行使用メモリ | 102,256 KB |
最終ジャッジ日時 | 2024-10-06 23:04:54 |
合計ジャッジ時間 | 5,643 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 51 WA * 12 |
ソースコード
n = int(input()) A = list(map(int, input().split())) i = 0 while A and A[-1] == 1: A.pop() i += 1 if i%2 == 0: print('Alice') else: print('Bob')