結果

問題 No.153 石の山
ユーザー ntuda
提出日時 2025-02-14 23:27:29
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 143 bytes
コンパイル時間 1,472 ms
コンパイル使用メモリ 82,216 KB
実行使用メモリ 53,896 KB
最終ジャッジ日時 2025-02-14 23:30:54
合計ジャッジ時間 2,882 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 18 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

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