Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem1210--字符串-字符桶
1210: 字符串-字符桶
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
951
Solved:
558
[
Status
] [
Submit
] [Creator:
]
Description
给定一个由a-z这26个字符组成的字符串,统计出现过的字符出现的次数。
Input
输入包含一行,一个字符串,长度不超过1000。
Output
输出一行,
出现过的字符(按字母顺序)出现的次数
,中间以一个空格分开。
Sample Input
Copy
acccbb
Sample Output
Copy
1 2 3
Source/Category
基础B