21 lines
164 B
C
21 lines
164 B
C
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
int x;
|
|
int n=0;
|
|
|
|
scanf("%d", &x);
|
|
|
|
n++;
|
|
x=x/10;
|
|
while(x>10)
|
|
{
|
|
n++;
|
|
x=x/10;
|
|
}
|
|
printf("%d\n",n);
|
|
return 0;
|
|
}
|
|
|
|
|