結果

問題 No.153 石の山
ユーザー ntuda
提出日時 2025-02-15 18:45:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 702 ms
コンパイル使用メモリ 82,364 KB
実行使用メモリ 53,832 KB
最終ジャッジ日時 2025-02-15 18:45:49
合計ジャッジ時間 2,272 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N == 1:
    print("B")
elif N <= 8:
    print("A")
elif N <= 24:
    if N % 2 == 1:
        print("B")
    else:
        print("A")
else:
    print("A")
0