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

PROGRAMMING:Statistics of student achievement

Luz5年前 (2021-05-10)题库440
This problem requires the preparation of procedures to read n students' percentile score, statistical distribution of five point score. The conversion rules from the hundred mark system to the five mark system are as follows:
-90 or more is a;
-B is less than 90 and greater than or equal to 80;
-C is less than 80 and greater than or equal to 70;
-D is less than 70 and greater than or equal to 60;
-Less than 60 is e.
###Input format:
Enter a positive integer n ($$$Le $$1000) in the first line, that is, the number of students; The second line gives the percentile scores of n students separated by spaces.
###Output format:
Output the number distribution of five point scores corresponding to a, B, C, D and E in one line. The numbers are separated by spaces, and there should be no extra spaces at the end of the line.
###Input example:
```in
seven
77 54 92 73 60 65 69
```
###Output example:
```out
1 0 2 3 1
```






answer:If there is no answer, please comment