Toggle navigation
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem G: 【模块化程序设计】实验3-7数组统计数字出现频率
Problem G: 【模块化程序设计】实验3-7数组统计数字出现频率
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
2037
Solved:
1356
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入20
个
0~9
之间的整数,统计各个整数的出现频率存放在一维数组中。
Input
20个0-9之间的整数
Output
0-9各个数字出现的频率
Sample Input
Copy
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
Sample Output
Copy
2 2 2 2 2 2 2 2 2 2