Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86659 潘允晨 07苹果和虫子 Python3 Accepted 36 MS 3764 KB 125 2024-07-27 09:48:49

Tests(10/10):


Code:

n,x,y=map(int,input().split()) eaten=y//x if y%x!=0: eaten+=1 if eaten>=n: print(0) else: print(n-eaten)