#include <stdio.h>
#define MAXLEN 80
int main()
{ int len,i,k;
char ch, oldch, str[MAXLEN];
oldch=’ ‘;
while((ch=getchar())!=’#’ || oldch!=’#’)
{ k=0;
while(ch!=’#’ MAXIEN-1)
{ str[k ]=ch;
ch=getchar();
}
oldch=’#’;
str[k]=0;
len=0;
for(i=0;i<k;i++)
{ len++;
}
printf("%d\n", len):
}
}
12-16
2678
12-30
728
05-27
1万+
10-16
1050