生成树
文章平均质量分 65
拂晓
Linux 网络编程
展开
-
HDU1102
题目:Constructing RoadsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4585 Accepted Submission(s): 1617Problem DescriptionThere ar原创 2011-05-26 21:59:00 · 461 阅读 · 0 评论 -
heap+prim
#include#includeusing namespace std;struct node{int num;int dis;node(int n,int d):num(n),dis(d){}node(){}};int n;node h[500000];void insert(node nd,int& len){原创 2012-04-25 11:57:14 · 605 阅读 · 0 评论 -
HDU 2489
题目:Minimal Ratio TreeTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1140 Accepted Submission(s): 348Problem DescriptionFor a原创 2012-07-31 18:25:24 · 851 阅读 · 0 评论