Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146131 毛梦瑶 14能吸多少根烟 Python3 Wrong Answer 28 MS 3744 KB 92 2026-01-26 21:05:50

Tests(0/10):


Code:

n,k=map(int,input().split()) total=0 while n>0: total+=n n//=k print(total)


Run Info:

------Input------
159 16
------Answer-----
169
------Your output-----
168