Toggle navigation
NTHU Online Judge
Contest
Problem
Submit
Status
Login
Register
7073 - Kindergarten Counting Game
Status
|
Limits
Submit
×
Close
Limits
Time
Memory
Case 1
3 sec
32 MB
Description
算一算每行有幾個字(word)。
Word的定義是連續的字元(letter: A~Z a~z)所組成的字。
Input
測試資料每筆一行,每行至少有一個字。
Output
輸出每一行的word數。
Sample Input
Download
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
Download
27109
Tags
Discuss