Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92850 | 徐梓涵 | 07苹果和虫子 | Python3 | Wrong Answer | 32 MS | 3780 KB | 259 | 2024-10-06 15:24:23 |
s=input().split() n=s[0] x=s[1] y=s[2] n=int(n) x=int(x) y=int(y) if n%x !=0: e=y//x+1 if n - e < 0: print(0) else: print(n-e) else: f=n - y//x if f < 0: print(0) else: print(f)
------Input------
290 4 8
------Answer-----
288
------Your output-----
287