結果
| 問題 | No.582 キャンディー・ボックス3 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-09-18 14:28:41 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 36,020 KB |
| 最終ジャッジ日時 | 2026-04-01 23:54:29 |
| 合計ジャッジ時間 | 3,803 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 WA * 4 |
ソースコード
N = int(input())
l = list(map(int, input().split()))
bwin_f = 0
two_f = 0
for l_i in l:
if l_i > 2:
bwin_f += 1
if l_i == 2:
two_f += 1
if bwin_f == 0 and two_f < 2 and N % 2 == 0:
print("A")
else:
print("B")