随笔分类 -  图论——最短路

摘要:Because of the huge population of China, public transportation is very important. Bus is an important transportation method in traditional public tran 阅读全文
posted @ 2017-03-27 23:30 Redscarf 阅读(320) 评论(0) 推荐(0)
摘要:Problem DescriptionOne day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soo 阅读全文
posted @ 2017-03-27 23:27 Redscarf 阅读(448) 评论(0) 推荐(0)
摘要:Problem Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。 现在,已知起点和终点,请你计算出要从起点到终点,最短需要行走多少距 阅读全文
posted @ 2017-03-27 23:21 Redscarf 阅读(272) 评论(0) 推荐(0)