The number of powers of two
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program receives a natural number m as input. Your task is to determine how many powers of two are less than or equal to m, excluding the number one, since is not counted.
Input
A natural number m ( ≤ ≤ )
Output
The solution to the problem.
Examples
Input #1
Answer #1
Submissions 761
Acceptance rate 47%