程序错误评测系统
登陆
注册
意见反馈
关于
练习专区
今天的一小步就是明天的一大步
Problem 1356 数单词
Accepted: 6
Total Submit: 14
Time Limit: 1000ms
Memory Limit: 30720KB
Description
统计每行有多少个以S或s开头的单词.
Input
输入有多组测试用例,每组测试用例均有一句英文语句组成。
Output
相应输出以S或s开头的单词个数。(详见输出样例)
Sample Input
I am a boy. She never pass the exam but she work hard.
Sample Output
0 2
Hint
提交
返回