結果

問題 No.582 キャンディー・ボックス3
ユーザー gew1fw
提出日時 2025-06-12 14:31:54
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 82,416 KB
実行使用メモリ 53,968 KB
最終ジャッジ日時 2025-06-12 14:31:56
合計ジャッジ時間 1,838 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
candies = list(map(int, input().split()))
count = sum(1 for c in candies if c == 1)
print("A" if count % 2 == 1 else "B")
0