結果

問題 No.582 キャンディー・ボックス3
ユーザー lam6er
提出日時 2025-04-15 22:04:08
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 136 bytes
コンパイル時間 201 ms
コンパイル使用メモリ 81,916 KB
実行使用メモリ 53,056 KB
最終ジャッジ日時 2025-04-15 22:05:26
合計ジャッジ時間 1,579 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
c = list(map(int, input().split()))
xor = 0
for x in c:
    if x == 1:
        xor ^= 1
print("A" if xor != 0 else "B")
0