为什么是90分【python的 P1150 Peter 的烟
查看原帖
为什么是90分【python的 P1150 Peter 的烟
913344
yujinhao___楼主2023/2/22 19:30
a,b=map(int,input().split())
c=a
while c>=3:
    c=c//b
    a=a+c
print(a)
2023/2/22 19:30
加载中...