3048: while-使用 while 循环统计输入的正整数的位数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:2
Description
输入一个正整数,用while循环统计该数的位数(如 123 是 3 位,9 是 1 位),直接输出位数。
Input
1 个正整数;
Output
1 个整数,为该数的位数。
Sample Input Copy
4567
Sample Output Copy
4