```cpp
printf("%.2f",double(maxsum)/(m/2));
```
改为
```cpp
printf("%.2f",double(maxsum)/(m-2.0));
```
by Eric998 @ 2022-04-30 08:42:56
@[糖果小屋](/user/464117)
[修改之后AC](https://www.luogu.com.cn/record/74796348)
by Eric998 @ 2022-04-30 08:44:56