Dijkstra算法 import sys def Dijkstra(graph, src): """ :param graph: 邻接矩阵存储图 :param src: 源点 :return: """ """ path: 前驱节点 dist: 最短路径