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

PROGRAMMING:Statistics MOOC certificate

Luz5年前 (2021-05-10)题库420
This problem requires programming, input the MOOC scores of $$n $$students, and count the number of excellent and qualified certificates, as well as the number of no certificates. Students study MOOC program design, and get excellent certificate with score of 85 or above, but get qualification certificate with score of 60 or above, and no certificate with score of 60 or above.
###Input format:
Enter the non negative integer $$n $$in the first line, which is the number of students. The second line gives $$n $$non negative integers, that is, the students' grades, separated by spaces.
###Output format:
Output the quantity of excellent certificate, qualified certificate and no certificate in a row, separated by a space. Note that there is no space after the last number.
###Input sample 1:
```in
seven
85 59 86 60 84 61 45
```
###Output sample 1:
```out
2 3 2
```
###Input sample 2:
```in
four
91 100 88 75
```
###Output sample 2:
```out
3 1 0
```







answer:If there is no answer, please comment