2700: CTK17 以“bi”开头的单词数量
Memory Limit:256 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
给定若干个英文单词,单词之间以一个空格隔开,请统计出所有以“bi”开头的单词数量。
例如:
给定的英文单词为:gate biweekly bike cook men
其中,以“bi”开头的有biweekly和bike ,故输出2。
Input
输入:仅1行,包含若干个英文单词(单词都为小写字母,单词长度大于2且小于11),单词之间以一个空格隔开,总长度不超过250。
Output
输出:一个整数,表示以“bi”开头的单词数量。
Sample Input Copy
gate biweekly bike cook men
Sample Output Copy
2