P5709 [Shenji 2.Exercise 6] Apples Prologue / Apples and Worms.
Description
Little B likes eating apples. She now has $m$ ($1 \le m \le 100$) apples. It takes $t$ ($0 \le t \le 100$) minutes to finish one apple, and after finishing one, she immediately starts eating the next one. Now $s$ ($1 \le s \le 10000$) minutes have passed. How many whole apples does she have left?
Input Format
Input three **non-negative integers** representing $m, t, s$.
Output Format
Output one integer representing the answer.
Explanation/Hint
If you get RE, you might want to check whether you are dividing by zero.
Translated by ChatGPT 5