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

PROGRAMMING:Calculate the final score of the judges

Luz5年前 (2021-05-10)题库508
In the speech contest, there are n (n < = 12) judges scoring, programming to get a player's final score (the average of the remaining scores after removing one of the highest score and one of the lowest score).
###Input format:
In the first line, enter the number of judges n (n < = 12), and in the second line, enter n scores, separated by spaces.
###Output format:
Output the final score of the player, and keep two decimal places.
###Input example:
```in
ten
8 9 7 6 7 8 9 8 9 7
```
###Output example:
```out
seven point eight eight
```







answer:If there is no answer, please comment