Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88644 07苹果和虫子 Python3 Accepted 38 MS 3760 KB 169 2024-08-19 16:47:32

Tests(10/10):


Code:

n,x,y = input().split() n = float(n) x = float(x) y = float(y) s = n-y//x if y % x != 0: s -= 1 res = int(s) if s > 0: print(res) else: print(0)