Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
108562 | 汤奕硕 | 07苹果和虫子 | Python3 | Wrong Answer | 36 MS | 3756 KB | 145 | 2025-01-20 19:57:19 |
n=int(input()) x=int(input()) y=int(input()) if y%x==0: a=y//x else: a=y//x+1 if n-a<0: print(0) else: print(n-a)
------Input------
389 1 24
------Answer-----
365
------Your output-----