#include<stdio.h>

int main()
{
    int x,i;
    scanf("%ld",&x);
    for(i=0;x>0;i++)
    x/=10;
    if(x==0)
    printf("%d",i);
    return 0;
}

相关文章: