会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Dillydally
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
最小生成树
HDU 1863
摘要:prim算法(不用并查集)#includeusing namespace std;#define inf 0x3f3f3f3f#define M 105//int mat[M][M];/*int pre[M];int Find(int x){ int p,t; ...
阅读全文
posted @
2018-04-30 13:34
MCQ
阅读(94)
评论(0)
推荐(0)
HDU 1102
摘要:最小生成树水题#includeusing namespace std;#define inf 0x3f3f3f3f#define M 105int mat[M][M];int prim(int n,int sta)//n表示有n个顶点,sta表从sta这个顶点出发生成...
阅读全文
posted @
2018-04-28 00:55
MCQ
阅读(92)
评论(0)
推荐(0)
公告