2016年8月26日

hdu_4463(最小生成树)

摘要: hdu_4463(最小生成树) 标签: 并查集 [题目链接][1] 题意: 求一个必须包含一条路径的最小生成树 题解: 把那条边初始化成0 保证这条边一定会被选 C++ include include include include using namespace std; const int N 阅读全文

posted @ 2016-08-26 19:13 若流芳千古 阅读(285) 评论(0) 推荐(0)

导航