Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94165 Hope 07苹果和虫子 Python3 Accepted 38 MS 3776 KB 159 2024-10-19 20:18:34

Tests(10/10):


Code:

s = input().split() s = list(map(int, s)) n = s[0] x = s[1] y = s[2] m = y // x if y % x != 0: n-=1 if n-m<=0: print(0) else: print(n-m)