Shortest Path from Origin to 2 Successive Destinations

后端 未结 0 1377
春和景丽
春和景丽 2021-01-24 13:49

How to find the shortest path from the origin to the first destination then from the first destination to the second destination? Here is the sample input:

3 2
A          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题