#P5709. 【深基2.习6】Apples Prologue / 苹果和虫子
【深基2.习6】Apples Prologue / 苹果和虫子
Problem Description
Little B likes eating apples. She now has () apples. It takes () minutes to finish one apple, and after finishing one, she immediately starts eating the next one. Now () minutes have passed. How many whole apples does she have left?
Input Format
Input three non-negative integers representing .
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