Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144349 桂依然 07苹果和虫子 Python3 Accepted 30 MS 3764 KB 129 2026-01-21 19:43:00

Tests(10/10):


Code:

n,x,y=map(int,input().split()) a=y//x b=y%x t=n-a if t<=0: print("0") elif b==0: print(t) else: print(t-1)