Tìm lũy thừa 10

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Problem source:
Sưu tầm
Problem type
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu

Cho số nguyên dương ~N~. Hãy tìm giá trị ~k~ lớn nhất thỏa ~10^k \le N~

Dữ liệu:

Dòng duy nhất ghi số nguyên ~N~ ~(0 \lt N \le 10^6 )~

Kết quả

Ghi ra số nguyên ~k~ thỏa yêu cầu.

Input

199

Output

2

Giải thích: với ~k=2~ thì ~10^2~ là giá trị lớn nhất thỏa điều kiện.


Comments

Please read the guidelines before commenting.


There are no comments at the moment.