2020年3月26日
摘要: 并查集+最小生成树 链接:https://www.luogu.com.cn/problem/UVA1151 先过一次kruskal,然后枚举所有的可能性找最小值 代码: #include <cstdio> #include <cmath> #include <vector> #include <cs 阅读全文
posted @ 2020-03-26 20:28 mmn 阅读(116) 评论(0) 推荐(0) 编辑