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

PROGRAMMING:The referee scored

Luz5年前 (2021-05-10)题库410
In the gymnastics competition, the judges mark the competitors. The scoring rule of a player is to remove a maximum score and a minimum score, and then calculate the average score. Please program to output the score of a player.
###Input format:
The first line contains an integer n (2 < n < 100), indicating the number of judges,
The second line contains n integers, indicating the scoring of N judges. Each integer is separated by a space.
###Output format:
Output player's score, and keep 2 decimal places.
###Input example:
```in
four
100 99 98 97
```
###Output example:
```out
ninety-eight point five zero
```







answer:If there is no answer, please comment