Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
146133 夏宇航 14能吸多少根烟 Python3 Accepted 39 MS 3760 KB 103 2026-01-26 21:34:43

Tests(10/10):


Code:

a,b=input().split() a=int(a) b=int(b) c=a while a//b>=1: c=c+1 a=a-b a=a+1 print(c)