摘要: Kruskal#include "iostream"#include "algorithm"using namespace std;#define MAXN 1111struct node { int x, y, l;}p[MAXN];int fa[MAXN];int n, m, k;int ... 阅读全文
posted @ 2015-03-13 19:41 UsedRose 阅读(123) 评论(0) 推荐(0)
摘要: 裸1.#include #include #include using namespace std;struct node{ int x, y, dis; int flag; bool operator 2 #include 3 #include 4 #include 5 #inc... 阅读全文
posted @ 2015-03-13 08:59 UsedRose 阅读(294) 评论(0) 推荐(0)