图论
青春斗
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU_1233 还是畅通工程
http://acm.hdu.edu.cn/showproblem.php?pid=1233#include #include using namespace std; struct edge { int u,v,w; }node[5005]; int father[5005]; void Init(int n) { for(int i=0;i<=n;i++) fath原创 2012-06-17 21:01:03 · 311 阅读 · 0 评论 -
HDU_1301 Jungle Roads
http://acm.hdu.edu.cn/showproblem.php?pid=1301 #include #include using namespace std; struct edge { int u,v,w; }node[900]; int parents[900]; void UFset() { for(int i=0;i<900;i++) parent原创 2012-06-17 21:05:02 · 360 阅读 · 0 评论
分享