Score : $200$ points
Given is an integer $N$. Find the number of digits that $N$ has in base $K$.
For information on base-$K$ representation, see Positional notation - Wikipedia.
Input is given from Standard Input in the following format:
$N$ $K$
Print the number of digits that $N$ has in base $K$.
11 2
4
In binary, $11$ is represented as 1011
.
1010101 10
7
314159265 3
18