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

PROGRAMMING:Apples and insects

Luz5年前 (2021-05-10)题库452
There are n apples in the box, and a bug is mixed in (the bug is free ~). The insect can eat an apple every x hours. Assuming that the insect won't eat another apple before eating one, how many complete apples do you have after y hours?
###Input format:
Input only one line, including three integers, N, X and y.
###Output format:
The number of complete apples left.
###Input example:
Here is a set of inputs. For example:
```in
10 3 10
```
###Output example:
The corresponding output is given here. For example:
```out
six
```







answer:If there is no answer, please comment