随笔分类 -  图论-生成树

摘要:Kruskal 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define INF 0x3f3f3f3f 4 #define M(a, b) memset(a, b, sizeof(a)) 5 const int N = 1e3 + 10, 阅读全文
posted @ 2017-04-25 08:44 Robin! 阅读(704) 评论(0) 推荐(0)
摘要:Problem Description The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between vi 阅读全文
posted @ 2017-02-27 17:20 Robin! 阅读(146) 评论(0) 推荐(0)