結果
| 問題 |
No.1506 Unbalanced Pocky Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-17 10:21:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 115 ms / 2,000 ms |
| コード長 | 158 bytes |
| コンパイル時間 | 184 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 24,440 KB |
| 最終ジャッジ日時 | 2024-07-06 21:56:05 |
| 合計ジャッジ時間 | 6,859 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 63 |
ソースコード
#yuki1506
n=int(input())
a=list(map(int, input().split()))
res=1
for x in a[1:]:
if res:
if x==1:
res=0
else:
res=1
print('Alice' if res else 'Bob')