![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法-最短路
Helly__cla
这个作者很懒,什么都没留下…
展开
-
最短路 aoj 2249 Road Construction
#include<cstdio> #include<cmath> #include<algorithm> #include<string> #include<cstring> #include<queue> #include<iostream> //#include<random> #include<functional> #include<list> #include<cstdlib> #incl原创 2017-03-29 20:05:14 · 318 阅读 · 0 评论 -
最小生成树 POJ 1258 Agri-Net
最小生成树Kuskal算法应用 Farmer John has been elected mayor of his town! One of his campaign promises was to bring internet connectivity to all farms in the area. He needs your help, of course. Farmer John原创 2017-03-29 22:04:42 · 231 阅读 · 0 评论 -
最短路 poj 3268 Silver Cow Party
One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M ≤ 100,000) unidirectional (one-way roa原创 2017-03-29 22:15:02 · 159 阅读 · 0 评论