Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92833 | 徐梓涵 | 07苹果和虫子 | Python3 | Wrong Answer | 39 MS | 3772 KB | 207 | 2024-10-06 15:14:46 |
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-y<0: print(0) else: print(n-e) else: f=n-y//x print(f)
------Input------
290 4 8
------Answer-----
288
------Your output-----
287