Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94151 | 徐盛熠 | 07苹果和虫子 | Python3 | Wrong Answer | 38 MS | 3784 KB | 185 | 2024-10-19 19:49:58 |
c=input().split() n=c[0] n=int(n) x=c[1] y=c[2] x=int(x) y=int(y) if y%x==0 : print(n-y//x) else : if y%x>=n : print(0) else : print(n-y//x-1)
------Input------
5 1 12
------Answer-----
0
------Your output-----
-7