Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94157 | Hope | 07苹果和虫子 | Python3 | Wrong Answer | 38 MS | 3768 KB | 145 | 2024-10-19 20:07:26 |
s = input().split() s = list(map(int, s)) n = s[0] x = s[1] y = s[2] e = n- y/x + y%x if e < 0: print(0) else: print(int(e))
------Input------
459 2 1
------Answer-----
458
------Your output-----
459