0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
4981: 统计字母
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:6
Solved:2
Submit
Submit Record
Statistics
ShowOff!
Description
从键盘上输入一段英文句子,统计并输出句子中各个小写字母出现的次数。(输入的字符小于1000个)
Input
一行小于1000个字符。(可能包含任意个空格)
Output
按字母顺序输出,每个字母一行,没有出现的字母不输出。
Sample Input
Copy
how are you? I'm fine thank you!
Sample Output
Copy
a 2 e 2 f 1 h 2 i 1 k 1 m 1 n 2 o 3 r 1 t 1 u 2 y 2
Source/Category
字符串
数组
Submit
Submit Record
Statistics
ShowOff!