```
zs/(m-2)>k
```
整数除以整数
by Henry2012 @ 2023-05-31 17:10:11
$Code:$
```cpp
#include <iostream>
#include <algorithm>
#include <iomanip>
using namespace std;
int score[21];
int main() {
int n, m;
cin >> n >> m;
double ans = 0, maxn = 0;
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
cin >> score[j];
}
sort(score, score + m);
for (int j = 1; j < m - 1; j++) {
ans += score[j];
}
maxn = max(maxn, 1.0 * ans / (m - 2));
ans = 0;
}
cout << fixed << setprecision(2) << maxn;
return 0;
}
```
## 这是满分代码,可以放心~~作弊~~食用
by int_stl @ 2023-07-11 10:27:15
@[newfiles](/user/764666) 作弊专用(doge)
by zengziyuezzy @ 2023-07-17 19:40:16