-->
当前位置:首页 > 题库

PROGRAMMING:Chestnuts and insects

Luz5年前 (2021-05-10)题库392
You bought a box of N chestnuts. Unfortunately, when you finished, there was a bug in the box. The insect can eat one chestnut every a hour. Assuming that the insect won't eat another chestnut before eating one, how many complete chestnuts do you have after B hours?.
###Input format:
Input only one line, including N, a and B (all integers).
###Output format:
Output is only one line, the remaining number of apples.
###Input example:
```in
10 4 7
```
###Output example:
```out
eight
```







answer:If there is no answer, please comment