3553: 直方图
Memory Limit:256 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:9
Solved:1
Description
[md]
给定一个非负整数数组,统计里面每一个数的出现次数。我们只统计到数组里最大的数。
假设 Fmax(Fmax<10000)是数组里最大的数,那么我们只统计{0,1,2.....Fmax}里每个数出现的次数。
[/md]
Sample Input Copy
5
1 1 2 3 1
Sample Output Copy
0
3
1
1