Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
92847 徐梓涵 07苹果和虫子 Python3 Wrong Answer 39 MS 3776 KB 262 2024-10-06 15:22:00

Tests(1/10):


Code:

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: f=n-y//x if f > n: print(0) else: print(f)


Run Info:

------Input------
290 4 8
------Answer-----
288
------Your output-----
287