
最短路
文章平均质量分 78
eeeaaaaa
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU1839
Delay Constrained Maximum Capacity Path Time Limit: 10000/10000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Total Submission(s): 969 Accepted Submission(s): 301 Problem Descr原创 2014-07-13 18:57:18 · 363 阅读 · 0 评论 -
POJ3114 Countries in War
Countries in War Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2314 Accepted: 721 Description In the year 2050, after different attempts of the UN to maintain peace in the world, th原创 2014-07-27 18:04:27 · 356 阅读 · 0 评论 -
HDU1595 find the longest of the shortest
find the longest of the shortest Time Limit: 1000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1560 Accepted Submission(s): 557 Problem Descripti原创 2014-07-13 14:59:13 · 401 阅读 · 0 评论 -
UVA1416 Warfare And Logistics
Warfare And Logistics Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu [Submit] [Go Back] [Status] Description Download as PDF The army of United Nations launched a new原创 2014-07-30 14:59:47 · 354 阅读 · 0 评论 -
HDU1531 King
链接:HDU1531原创 2014-08-15 10:31:46 · 793 阅读 · 0 评论 -
HDU3440 House Man
House Man Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2056 Accepted Submission(s): 811 Problem Description In Fuzhou, there is a c原创 2014-08-16 10:51:23 · 425 阅读 · 0 评论 -
HDU1529 Cashier Employment
Cashier Employment Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 858 Accepted Submission(s): 367 Problem Description A supermarket i原创 2014-08-16 13:33:35 · 780 阅读 · 0 评论 -
HDU4871 Shortest-path tree【最短路+点分治】
题意:给出一张图,要求从1点开始跑最短路,并以1为根生产一棵最短路树(长度相同找到字典序最小的),然后求出这个树上恰好经过k个点的最长路径,并输出数量。 从1点跑一遍最短路,然后dfs生产最短路生成树,然后点分治,找到重心之后对重心每条边算一次经过了i个点的最长路,然后还要用数组记录一下前面经过了i个点的最长路。。处理方法在讲点分治的论文上有。 #include #include #inclu原创 2015-05-14 15:55:47 · 459 阅读 · 0 评论