結果
| 問題 |
No.1506 Unbalanced Pocky Game
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 20:47:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 148 bytes |
| コンパイル時間 | 262 ms |
| コンパイル使用メモリ | 82,500 KB |
| 実行使用メモリ | 106,292 KB |
| 最終ジャッジ日時 | 2025-06-12 20:48:57 |
| 合計ジャッジ時間 | 6,931 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 36 WA * 27 |
ソースコード
n = int(input())
a = list(map(int, input().split()))
count = sum(1 for x in a if x > 1)
if count % 2 == 0:
print("Alice")
else:
print("Bob")
gew1fw