The power of the number 10
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program should read a natural number N from the console. If the number N is equal to 10^M
, meaning it is a power of 10, then output the value of M. Otherwise, output No.
Input
A natural number N.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 8K
Acceptance rate 28%