100 atcoder#ABC156B. [ABC156B] Digits
[ABC156B] Digits
Score : points
Problem Statement
Given is an integer . Find the number of digits that has in base .
Notes
For information on base- representation, see Positional notation - Wikipedia
.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the number of digits that has in base .
11 2
4
In binary, is represented as 1011
.
1010101 10
7
314159265 3
18