Toggle navigation
NTHU Online Judge
Contest
Problem
Submit
Status
Login
Register
7485 - Counting Game(I)
Status
|
Limits
Submit
×
Close
Limits
Time
Memory
Case 1
3 sec
32 MB
Description
請算出每一行中有幾個大寫英文字母開頭的字(Word)
Word的定義是連續英文字母所組成的字
Input
有多組測資,每組測資一行,每行長度不超過500。
Output
輸出每一行由大寫英文字母開頭的Word數。
Sample Input
Download
This is the first Line. this is thE second line. This Is The Third Line!!! A.E~~~I.O...U
Sample Output
Download
2 0 5 5
Tags
Discuss