Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
113228 杨嘉陆 07苹果和虫子 Python3 Accepted 41 MS 3768 KB 121 2025-03-15 14:40:06

Tests(10/10):


Code:

n,x,y=input().split() n=int(n) x=int(x) y=int(y) a=y//x b=y%x s=n-a if b>0: s=s-1 if s<0: s=0 print(s)