| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73412 | 胡海峰老师 | 07苹果和虫子 | Python3 | Accepted | 38 MS | 3780 KB | 235 | 2024-05-18 19:46:59 |
n,x,y = input().split() n,x,y = int(n),int(x),int(y) apples = y//x #吃掉整数个(完整的) if y%x > 0 : apples = apples +1 #吃掉一些的苹果(1个) if apples>n: print(0) else: print( n- apples)