本地会输出这玩意儿:
```cpp
5 5
5 4
5 3
5 2
5 1
4 5
4 4
4 3
4 2
3 4
4 1
3 3
3 2
3 1
2 5
2 4
2 1
2 3
1 5
1 2
1 4
```
应该是重载运算符的问题,但是不开本地O2或者用洛谷IDE就没事
by 最後の祈りを @ 2021-09-11 16:10:35
尝试更新本地 GCC 版本和 C++ 库试试
by unputdownable @ 2021-09-11 16:12:49
@[最後の祈りを](/user/389985) `bool operator <(const edge x)const` 变成 `bool operator <(const edge &x)const`
by fjy666 @ 2021-09-11 16:19:50
@[fjy666](/user/366338) 还是乱的,这个写法应该是没问题的,可能是编译器的问题,我有空更新一下环境
by 最後の祈りを @ 2021-09-11 16:26:59
我本地没问题
by Ryo_Yamada @ 2021-09-11 16:29:54
@[最後の祈りを](/user/389985) red panda DEVC++搭配的是GCC10.3啊
by idgg007 @ 2021-09-11 16:36:15
@[idgg007](/user/297831) az,我就着电脑上的老dev附带的编译器用的,就换了个编辑器
by 最後の祈りを @ 2021-09-11 16:43:53
已更新环境无问题了......
by 最後の祈りを @ 2021-09-11 16:50:18
@[最後の祈りを](/user/389985) [小熊猫的下载地址](https://royqh.net/devcpp/download)内部是有9.2.0版本以上的C++,在我这里GCC9.2.0没问题
by idgg007 @ 2021-09-11 16:53:14
@[idgg007](/user/297831) 确实是有,但我编译配置一直选的4.8.1......刚改成10.3了
by 最後の祈りを @ 2021-09-11 16:55:51