
-------最小生成树
文章平均质量分 79
猿的进化之路
这个作者很懒,什么都没留下…
展开
-
hdu5723 最小生成树 树形dp
Abandoned countryTime Limit: 8000/4000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 4607 Accepted Submission(s): 1153Problem DescriptionAn aba原创 2016-08-29 10:46:37 · 425 阅读 · 0 评论 -
hdu4786-图论训练3-最小生成树
D - Fibonacci TreeTime Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescription Coach Pang is interested in Fibonacci numbers while Uncle Ya原创 2016-03-29 21:22:12 · 342 阅读 · 0 评论 -
最小树形图uva11183
Problem ITeen Girl Squad Input: Standard Input Output: Standard Output You are part of a group of n teenage girls armed with cellphones. You have some news you want to tell everyone in the gro原创 2016-03-08 15:58:23 · 299 阅读 · 0 评论 -
图论训练2A--hdu4081
Qin Shi Huang's National Road SystemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5986 Accepted Submission(s): 2085Problem Desc原创 2016-02-29 18:05:31 · 387 阅读 · 0 评论 -
poj1797
Time Limit: 3000MS Memory Limit: 30000KTotal Submissions: 26357 Accepted: 7011DescriptionBackground Hugo Heavy is happy. After the breakdown of the Cargolifter project he原创 2016-01-04 19:07:35 · 501 阅读 · 0 评论 -
poj2253 最小生成树最大权
FroggerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 32122 Accepted: 10351DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Sudden原创 2016-01-04 17:04:54 · 493 阅读 · 0 评论 -
poj3723最小生成树
ConscriptionTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9705 Accepted: 3451DescriptionWindy has a country, and he wants to build an army to protect原创 2015-12-18 16:11:32 · 413 阅读 · 0 评论 -
最小生成树
#include #include using namespace std;const int maxn=10000;struct edge{ int u,v,cost;}es[maxn];bool cmp(edge e1,edge e2){ return e1.cost<e2.cost;}int par[maxn],rank[maxn];void init(原创 2015-12-18 16:00:14 · 302 阅读 · 0 评论