python 80求助
查看原帖
python 80求助
1150660
lige121楼主2023/10/29 11:09

m, t, s = map(int, input().split()) b = s / t c = m - b if t == 0 and s % t == 0: print(m) elif b >= m: print(0) elif c < 0: print(0) else: print(int(c))

2023/10/29 11:09
加载中...