摘要: 1 //克鲁斯卡尔 2 #include 3 #include 4 5 using namespace std; 6 const int maxn = 50000 + 5; 7 8 struct node{ 9 int x, y; 10 int len; 11 }g[maxn]; 12 13 bool cmp(node x, node y){ 14 ... 阅读全文
posted @ 2018-03-29 20:08 ouyang_wsgwz 阅读(146) 评论(0) 推荐(0) 编辑