Đếm chữ số

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 types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu

Cho số nguyên ~N~. Hãy cho biết ~N~ có bao nhiêu chữ số.

Dữ liệu

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

Kết quả

Dòng duy nhất ghi số chữ số của ~N~.

Input 1

43

Output 1

2

Input 2

-43

Output 2

2

Comments

Please read the guidelines before commenting.


There are no comments at the moment.