Kruskal怎么解决重边和自环,求大佬指点(c++)

P3366 【模板】最小生成树

并查集
by pengpeng2002 @ 2017-08-14 20:55:25


哦,知道了。我只用了查...没有考虑并。
by Zming @ 2017-08-14 21:41:49


@[Zming](/space/show?uid=33418) 2333
by 石榴 @ 2017-08-23 17:14:50


蓝绿名菜鸡互啄66
by Kinandra @ 2017-08-31 16:17:21


..
by 夏夕secret @ 2017-09-23 17:09:41


...
by EnderGZM @ 2017-10-17 22:39:57


|