#AT2573. A - Attack
A - Attack
当前没有测试数据。
A - Attack
Score : $100$ points
Problem Statement
There is an enemy with stamina $A$. Every time you attack the enemy, its stamina reduces by $B$.
At least how many times do you need to attack the enemy to make its stamina $0$ or less?
Constraints
- $1 \le A,B \le 10^{18}$
- $A$ and $B$ are integers.
Input
The input is given from Standard Input in the following format:
Output
Print the answer.
7 3
3
Attacking three times make the enemy's stamina $-2$.
Attacking only twice makes the stamina $1$, so you need to attack it three times.
123456789123456789 987654321
124999999
999999999999999998 2
499999999999999999