07 2014 档案

最短路模板(dijkstra+邻接表)
摘要:#include#include#include#include#include#include#include#include#includeusing namespace std;#define maxn 550#define MM 10000000int V[maxn];int d[max... 阅读全文

posted @ 2014-07-23 20:41 胖胖的乓乓 阅读(528) 评论(0) 推荐(0)

Uva 10034 - Freckles
摘要:题目大意: 我理解为给你N个城市的坐标,求所有城市连起来的最小距离。 #include#include#include#includeusing namespace std;#define maxn 105#define MM 1000000000int n,T;struct aa{ d... 阅读全文

posted @ 2014-07-10 20:19 胖胖的乓乓 阅读(124) 评论(0) 推荐(0)

导航