输入一行文字,统计其中有多少个单词。单词之间是用一个或多个空格间隔的。
一行文字,可多达10000000个。
单词个数。
I am a boy.
4
注册一个 HydroOJ 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 HydroOJ 通用账户