Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92846 | 徐梓涵 | 07苹果和虫子 | Python3 | Wrong Answer | 35 MS | 3760 KB | 257 | 2024-10-06 15:21:05 |
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 e > n: print(0) else: print(n-e) else: if e > n: print(0) else: f=n-y//x print(f)
------Input------
389 1 24
------Answer-----
365
------Your output-----