作者在 2013-05-15 18:02:42 发布以下内容
单词数统计
Time Limit:1000MS Memory Limit:65536K
Total Submit:528
Accepted:328
Description
从键盘输入一行字符,长度小于1000。统计其中单词的个数,各单词以空格分隔,且空格数可以是多个。
Input
输入只有一行句子。仅有空格和英文字母构成
Output
单词的个数
Sample Input
stable marriage problem Consists of Matching members
Sample Output
7
大家好,请问这个题到底怎么写才会对呢?