#include"stdio.h"shu(int n){int i;while(n!=0){n=n/10;i++;}return i;}main(){int a,f;scanf("%d",&a);f=shu(a);printf("%d",f);}
那应该怎么编呢