Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88651 07苹果和虫子 Python3 Accepted 42 MS 3772 KB 127 2024-08-19 16:57:52

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)