练习专区

今天的一小步就是明天的一大步
Problem 1079 数一数:一行有多少个字符
Accepted: 6   Total Submit: 17
Time Limit: 1000ms   Memory Limit: 30720KB
Description
为了对一篇文章进行统计,要求你帮忙统计每行有多少个字符,每行以回车键作为结束标志。
Input
输入有若干行,每行由字符、空格、数字、符号等构成。
Output
对应输出每行字符的长度。
Sample Input
I am a boy.
How beautiful you are.
#include stdio.h>
Sample Output
11
22
17
Hint
提交     返回