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

PROGRAMMING:Competition score

Luz5年前 (2021-05-10)题库400
The judges will mark the contestants on the spot.
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:
Enter the number of judges n, the number of judges is greater than 3, and then enter n positive integers as the score of the contestant.
###Output format:
Output the final score of the player, and reserve one decimal place.
###Input sample 1:
Here is a set of inputs. For example:
```in
five
80 84 92 90 71
```
###Output sample 1:
The corresponding output is given here. For example:
```out
eighty-four point seven
```
###Input sample 2:
Here is a set of inputs. For example:
```in
seven
67 80 66 75 78 70 72
```
###Output sample 2:
The corresponding output is given here. For example:
```out
seventy-two point four
```







answer:If there is no answer, please comment