Digits
Find the number of digits in a nonnegative integer n.
Specifications
Input
One nonnegative integer n (0 ≤ n ≤ 2000000000).
Output
The number of digits in number n.
Problem information
Time Limit: 1 secondsMemory Limit: 64 MB
Balls for the passed test: 6.25
Complexity: 20% 2934/3663
Classes: Number theory
Example
Example input13243 |
Example output5 |
| ← Simple problem? | Problems | Match’s model → |
