摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 int n, m; 9 int f[510]; 10 11 struct node 12 { 13 int... 阅读全文
posted @ 2017-08-06 18:32 ouyang_wsgwz 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 using namespace std; 4 5 const int maxn = 10005; 6 int n, m; 7 int fa[28]; 8 struct node 9 { 10 int x, y; 11 int cost; 12 }arr[maxn]; 13 14 void init() 15 {... 阅读全文
posted @ 2017-08-06 17:05 ouyang_wsgwz 阅读(110) 评论(0) 推荐(0) 编辑