Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88654 07苹果和虫子 Python3 Accepted 38 MS 3764 KB 125 2024-08-19 17:09:31

Tests(10/10):


Code:

n,x,y=input().split() n,x,y=int(n),int(x),int(y) res=n-y//x if y%x==0 else n-y//x-1 if res<0: res=0 print(res)