python 80 求方法!!!!!!

P1150 Peter 的烟

nlhzh1818 @ 2024-01-23 10:29:41


yan=input()
list1=yan.split()
yuyan=int(list1[0])
yuyan2=int(list1[1])
if yuyan>yuyan2:
    xiyan=yuyan//yuyan2
    yuyan+=xiyan
print(yuyan)

|