結果
問題 | No.582 キャンディー・ボックス3 |
ユーザー |
👑 ![]() |
提出日時 | 2021-01-04 17:40:06 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 288 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-10-15 03:12:59 |
合計ジャッジ時間 | 2,166 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 14 WA * 3 |
ソースコード
_=int(input())C=list(map(int,input().split()))C=[c for c in C if c]N=len(C)C.sort()if (N%2==0 and C==[1]*(N-1)+[2]) or C==[1]:print("A")else:print("B")