結果

問題 No.2766 Delicious Multiply Spice
ユーザー cologne
提出日時 2025-05-23 16:06:34
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 211 bytes
コンパイル時間 780 ms
コンパイル使用メモリ 82,608 KB
実行使用メモリ 67,920 KB
最終ジャッジ日時 2025-05-23 16:06:40
合計ジャッジ時間 5,013 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 RE * 6
other RE * 31
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
def f(x):
	if x == 1:
		return ''
	if x % 2 == 1:
		y = g(x//2)
		if y is not None:
			return y + 'A'
	if x % 3 == 1:
		y = g(x//3)
		if y is not None:
			return y + 'B'
	return None


print(f(n))
0