Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73414 胡海峰老师 07苹果和虫子 Python3 Wrong Answer 34 MS 3748 KB 200 2024-05-18 19:48:26

Tests(0/10):


Code:

n,x,y = input().split() n,x,y = int(n),int(x),int(y) apples = y//x #吃掉整数个(完整的) if y%x > 0 : apples = apples +1 #吃掉一些的苹果(1个) res = max(0,n-apples)


Run Info:

------Input------
389 1 24
------Answer-----
365
------Your output-----