Problem4116--【入门】统计单词个数

4116: 【入门】统计单词个数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Submit

Description

输入一行字符串,包含若干个单词,约定相邻的两个单词用空格隔开(一个或多个空格),编程统计单词的个数。

Input

一行空格隔开的若干个单词。

Output

单词个数

Sample Input Copy

Hello   World

Sample Output Copy

2

Source/Category