結果
| 問題 | No.1506 Unbalanced Pocky Game |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-31 17:23:37 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 178 bytes |
| 記録 | |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 96,232 KB |
| 実行使用メモリ | 121,948 KB |
| 最終ジャッジ日時 | 2026-07-08 04:05:50 |
| 合計ジャッジ時間 | 8,865 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 40 WA * 23 |
ソースコード
n, *rest = map(int, open(0).read().split())
a = rest[:n]
g = 0
for num in reversed(a):
if num > g:
g = num
else:
g = 0
print("Alice" if g != 0 else "Bob")
lam6er