摘要: 题目链接: 1114 Family Property This time, you are supposed to help us ... 阅读全文
posted @ 2018-11-16 13:06 xzhws 阅读(35) 评论(0) 推荐(0) 编辑
摘要: dijstra经典题 相同路径取用时最短 相同用时取节点数最少 但注意用vector存储节点时,每次更新需要清空之前的值,保存最新的路径。 参考自:https://www.liuchuo.net/archives/2407 阅读全文
posted @ 2018-11-16 09:44 xzhws 阅读(293) 评论(0) 推荐(0) 编辑