#P5709. 【深基2.习6】Apples Prologue / 苹果和虫子

【深基2.习6】Apples Prologue / 苹果和虫子

Problem Description

Little B likes eating apples. She now has mm (1m1001 \le m \le 100) apples. It takes tt (0t1000 \le t \le 100) minutes to finish one apple, and after finishing one, she immediately starts eating the next one. Now ss (1s100001 \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,sm, t, s.

Output Format

Output one integer representing the answer.

50 10 200
30

Hint

If you get RE, you might want to check whether you are dividing by zero.

Translated by ChatGPT 5