Problem1289--统计小写字母

1289: 统计小写字母

Time Limit: 1.000 Sec  Memory Limit: 128 MB
Submit: 276  Solved: 141
[Submit] [Status] [Web Board] [Creator:]

Description

 

【问题描述】输入一串小写字母,统计出每个字母在该字符串中出现的次数(若某字母不出现,则不要输出)

【输入格式】输入一串小写字母(仅包含abc三种字母)

【输出格式】输出每个字母在该字符串中出现的次数

【输入样例】aaaabbbccc

【输出样例】

a:4

b:3

c:3


Sample Input



Sample Output



Source/Category


[Submit] [Status]