@[KenRonaldo](/user/1383584)
你数组开大点试试
by luoyebushiye @ 2024-10-06 18:12:44
可以这样
```c
double maxsum;
maxsum=max(maxsum,(double)s-minn-maxn);
```
别的不变试试
by yxm080806 @ 2024-10-06 18:19:52
@[luoyebushiye](/user/1317276)
试过了不行。。。
by KenRonaldo @ 2024-10-19 17:29:51
@[yxm080806](/user/1178512)
不行,试过了,还是一样的结果
by KenRonaldo @ 2024-10-19 17:30:32
```c
for(int i=1;i<=n;i++){
for(int j=1;j<=m;j++){
scanf("%d",&s[j]);
}
stat(s,m);
}
```
@[KenRonaldo](/user/1383584)
这样呢?
by yxm080806 @ 2024-10-19 18:10:08