摘要:        
题意:先算出没两点之间的长度,然后直接套用Prim模版就行。连接:http://acm.hdu.edu.cn/showproblem.php?pid=1162View Code #include <iostream>#include <cmath>using namespace std;#define INF 0x3fffffff#define MAX 100+10double map[MAX][MAX];int used[MAX];double dis[MAX];double sum;int n;struct node{ double i; double j;};vo    阅读全文
            
                posted @ 2012-09-05 20:32
Keep Strive
阅读(136)
评论(0)
推荐(0)
            
        
                    
                
        2012年9月5日