Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88643 07苹果和虫子 Python3 Wrong Answer 36 MS 3748 KB 160 2024-08-19 16:46:11

Tests(0/10):


Code:

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


Run Info:

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