最小生成树
文章平均质量分 87
一颗少女心
这个作者很懒,什么都没留下…
展开
-
HDU1863 最小生成树 prim模版
prim模版原创 2017-11-12 20:02:28 · 208 阅读 · 0 评论 -
djkstra 我的dijkstra模板
//根据大神模板修改加注释的我的小菜鸟模板,如有错误欢迎指正! #include #include #include using namespace std; const int N=1005; const int MAX=0x3f3f3f3f; int mapa[N][N]; //邻接矩阵存图的结构 int flag[N],dis[N]; //fl转载 2017-11-05 14:37:28 · 360 阅读 · 0 评论 -
寒假集训最小生成树专题
E - Agri-Net Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u SubmitStatus use MathJax to parse formulas Description Farmer John has been elected mayor of his t原创 2018-01-11 16:00:54 · 186 阅读 · 0 评论