Prims算法90分求助

P3366 【模板】最小生成树

@[YellowEgg](/user/228113) 你没判是否联通
by IntrepidStrayer @ 2020-04-02 21:10:54


错的那个点答案错误,并非不连通
by YellowEgg @ 2020-04-02 21:12:45


考古,我也是prim第四个点错,有人回答吗QAQ 记录:https://www.luogu.com.cn/record/37281386
by xkcdjerry @ 2020-08-19 14:01:16


@[YellowEgg](/user/228113) 您是怎么解决的QAQ
by xkcdjerry @ 2020-08-19 14:02:34


@[xkcdjerry](/user/298051) 您要考虑重边的情况
by YellowEgg @ 2020-08-19 14:48:07


@[YellowEgg](/user/228113) 感谢提示
by lyu201909250425 @ 2020-12-31 18:48:23


|