Kindergarten Counting Game
来源:互联网 发布:网络推广哪个比较划算 编辑:程序博客网 时间:2024/05/08 08:43
Everybody sit down in a circle. Ok. Listen to me carefully.
``Woooooo, you scwewy wabbit!''
Now, could someone tell me how many words I just said?
Input and Output
Input to your program will consist of a series of lines, each line containing multiple words (at least one). A ``word'' is defined as a consecutive sequence of letters (upper and/or lower case).
Your program should output a word count for each line of input. Each word count should be printed on a separate line.
Sample Input
Meep Meep!I tot I taw a putty tat.I did! I did! I did taw a putty tat.Shsssssssssh ... I am hunting wabbits. Heh Heh Heh Heh ...
Sample Output
27109
- 494 - Kindergarten Counting Game
- uva494 Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- UVa494 Kindergarten Counting Game
- 494 - Kindergarten Counting Game
- Kindergarten Counting Game
- Kindergarten Counting Game
- Kindergarten Counting Game
- Kindergarten Counting Game
- Kindergarten Counting Game
- Kindergarten Counting Game
- AndroidAnnotations——Reinject NonConfiguration Instance重新注入NonConfiguration 实例
- The Decoder
- hdu 2647拓扑排序 结构体模拟容器
- FreeRTOS学习笔记——任务间使用队列同步数据
- Java Server Faces反直觉技术点积累
- Kindergarten Counting Game
- BMP文件结构
- 12个有趣的C语言面试题
- MES 模块简介
- OC中数组与字符串的拼接与分割
- Windows内核浅谈
- 动态规划-背包问题九讲及其代码实现
- poj 1149 PIGS 最大流
- Back to High School Physics