![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dijkstra
文章平均质量分 78
王八变成汤
这个作者很懒,什么都没留下…
展开
-
Truck History(最短路)
Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each type of a truck. The code is simply a string of exactly seven lowerc原创 2021-09-03 18:20:20 · 151 阅读 · 0 评论 -
Silver Cow Party(Dijkstra)
Silver Cow PartyDescriptionOne cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1…N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M ≤ 100,000) unidirectional (one-way roads connects pairs of farms;原创 2021-08-05 18:17:02 · 144 阅读 · 0 评论