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

PROGRAMMING:Heboost: a problem of scoring and calculating for variety show

Luz5年前 (2021-05-10)题库412
On the scoring calculation of variety show
When scoring a variety show, experts are required to remove the highest score and the lowest score, and then calculate the average of the remaining scores
###Input format:
Fixed as 1 line, the score given for each judge, the range is [0-100] positive integer, the elements are separated by spaces, and the number of elements is [3-100]
###Output format:
The positive integer of the average value calculated according to the requirements [if there is a decimal part, discard it directly]
###Input example:
Here is a set of inputs. For example:
```in
50 80 70 90 60
```
###Output example:
The corresponding output is given here. For example:
```out
seventy
```






answer:If there is no answer, please comment