pair是按先first再second比较的,你这样排序会炸的
by suyulong1212 @ 2023-11-12 17:55:23
@[Zikl](/user/300166) 然后就是你边开少了,至少开N*N吧
by suyulong1212 @ 2023-11-12 17:58:19
@[suyulong1212](/user/275790) 哦!我记错了比较顺序,我再改一下,谢谢,已关。
by Zikl @ 2023-11-12 18:41:10
优先队列 `priority_queue` 的重载和 `vector` 等是相反的,原来如此
by Zikl @ 2023-11-12 18:55:13