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

编程题:Dripping Water Wears Through a Stone

Luz3年前 (2022-11-26)题库509


Dripping water wears away stone is an idiom, which originated from the 《Chinese book • Meicheng biography》by Ban Gu of the Eastern Han Dynasty.

The idiom means that water drops continuously, can drop through the stone; persistence in metaphor, subtle power can also achieve the difficult work.

![1668260598(1)(1).png](~/99dc61dc-6eae-42dd-b85e-d3b50979e867.png)

It is assumed that M drops of water can penetrate a 1 micron thick stone. How many drops of water does it take for a given N micron thick stone to break through?

## Input:

In one line there are two positive integers N,M.(1≤N≤1000000, 1≤M≤1000).

## Output:

The test case output a line. Output the number of water drops that break through for a given N micron thick stone.

## Sample Input:


in
100000 2


## Sample Output:



out
200000







答案:若无答案欢迎评论