結果
問題 |
No.582 キャンディー・ボックス3
|
ユーザー |
![]() |
提出日時 | 2023-01-04 20:41:54 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 156 bytes |
コンパイル時間 | 285 ms |
コンパイル使用メモリ | 82,024 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-11-28 00:35:24 |
合計ジャッジ時間 | 2,204 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
ソースコード
N = int(input()) C = list(map(int, input().split())) C.sort() C[-1] -= 1 if max(C) >= 2: print("B") elif sum(C) % 2: print("B") else: print("A")