蒟蒻求助dalao QAQ

P3366 【模板】最小生成树

是不是数组开小了qvq
by zhutier @ 2018-10-29 22:07:14


@[devenv2010](/space/show?uid=56607) `f[5001]`,`tr[200001]`吧(边数和点数的最大值搞反了)
by andyli @ 2018-10-29 22:07:49


kruskal的循环里的参数应该是1~m 初学者最容易犯的错误
by Patrickpwq @ 2018-10-29 22:36:06


@[andyli](/space/show?uid=84282) @[Patrickpwq](/space/show?uid=60299) @[zhutier](/space/show?uid=44424) 感谢daolao! orzorz
by devenv2010 @ 2018-10-30 19:25:16


|