#include<stdio.h>
main()
{
int n=0;
printf("输入任意个数的字符:\n");
while(getchar()!='\n')n++;
printf("%d",n);
}