随笔分类 - 图论——最短路
摘要:Because of the huge population of China, public transportation is very important. Bus is an important transportation method in traditional public tran
阅读全文
摘要: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
阅读全文
摘要:Problem Description某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。 现在,已知起点和终点,请你计算出要从起点到终点,最短需要行走多少距
阅读全文

浙公网安备 33010602011771号