Toggle navigation
NTHU Online Judge
Contest
Problem
Submit
Status
3
lawrence910426
Logout
8003 - Problem D
Status
|
Limits
Submit
×
Close
Limits
Time
Memory
Case 1
1 sec
32 MB
Description
Input
每一筆測資佔用一行,由包含大小寫英文字母的字串
S
(|
S
| ≤ 100) 組成。輸入以 EOF 做結。
Output
對於每一筆輸入,輸出一個非負整數,一個數字佔用一行。
Sample Input
Download
BOOK bOOK DOOR dOOR
Sample Output
Download
4 3 4 4
Tags
Add Tag
Discuss