Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146120 桂依然 14能吸多少根烟 Python3 Wrong Answer 31 MS 3772 KB 111 2026-01-26 12:15:10

Tests(1/10):


Code:

n,k=map(int,input().split()) a=n//k s=n%k if a+s>k: t=(a+s)//k+a+n print(t) else: print(a+n)


Run Info:

------Input------
133 12
------Answer-----
145
------Your output-----
144