1284: 统计空格数

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:4 Solved:4

Description

[md] 输入一个字符串,其中可能包含空格。输出字符串中空格的数量。 [/md]

Sample Input Copy

I have a dream

Sample Output Copy

3

Source/Category