- 题目
- 代码
#include#include int main() { int len=0; char str[5000]; char* word; while(scanf("%s",str)!= EOF) word = str; printf("%d",strlen(word)); }

#include#include int main() { int len=0; char str[5000]; char* word; while(scanf("%s",str)!= EOF) word = str; printf("%d",strlen(word)); }