結果
| 問題 |
No.1506 Unbalanced Pocky Game
|
| コンテスト | |
| ユーザー |
trineutron
|
| 提出日時 | 2021-05-14 22:11:06 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 88 ms / 2,000 ms |
| コード長 | 257 bytes |
| コンパイル時間 | 110 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 24,188 KB |
| 最終ジャッジ日時 | 2024-10-02 01:28:10 |
| 合計ジャッジ時間 | 4,705 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 63 |
ソースコード
n = int(input())
a = list(map(int, input().split()))[::-1]
for i in range(n):
if a[i] >= 2:
if i % 2 == 0:
print('Alice')
else:
print('Bob')
exit()
if n % 2 == 1:
print('Alice')
else:
print('Bob')
trineutron