Toggle navigation
NTHU Online Judge
Contest
Problem
Submit
Status
Login
Register
7490 - Counting Game (II)
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...uuU
Sample Output
Download
1 0 5 5
Tags
Discuss