摘要: #include#include#includeusing namespace std;const int MAXN = 110000;struct Edge{ int f, t, d;}es[MAXN];int n, m, fa[MAXN];int find(int x){... 阅读全文
posted @ 2016-03-23 21:43 Loi_Vampire 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 小S 想要从某地出发去同学k的家中参加一个party,但要有去有回。他想让所用的时间尽量的短。但他又想知道从不同的点出发,来回的最短时间中最长的时间是多少,这个任务就交给了你 输入描述 Input Description 第一行三... 阅读全文
posted @ 2016-03-23 20:15 Loi_Vampire 阅读(132) 评论(0) 推荐(0) 编辑