-->
当前位置:首页 > 题库

PROGRAMMING:Merciless cash counter

Luz5年前 (2021-05-10)题库466
As we all know, $$LC $$is the fastest person to pay for the training team. Now, $$LC $$has $$n $$banknotes with denominations from $$1 $$to $$10 $. He would like you to help him calculate the number of $$1 $$to $$10 $$banknotes.
###Input format:
In the first line, give a positive integer $$n (1 < = n < = 10 ^ 3) $$to represent that there are $$n $$banknotes in the Treasury.
The second line gives $$n $$positive integer and $$I $$integer $$X_ I $$represents the amount of note $$I $.
###Output format:
Output $$10 $$integers in one line. The $$I $$integer represents the number of banknotes with the amount of $$I $. Separate the two numbers with a space. Note that there is no space at the end of the line
###Input example:
```in
five
1 2 1 3 2
```
###Output example:
```out
2 2 1 0 0 0 0 0 0 0
```







answer:If there is no answer, please comment