提交时间:2025-04-05 20:11:16

运行 ID: 316149

x,y=map(int,input().split()) s=0 i=0 while s<x: i+=1 s+=y if s>=x: break i+=1 s-=1 print(i)