2022-03-11:int n, int[][] roads, int x, int y, n表示城市数量,城市编号0~n-1, roads[i][j] == distance,表示城市i到城市j距
摘要:
2022-03-11:int n, int[][] roads, int x, int y, n表示城市数量,城市编号0~n-1, roads[i][j] == distance,表示城市i到城市j距离为distance(无向图), 求城市x到城市y的最短距离。 答案2022-03-11: 有向图, 阅读全文
posted @ 2022-03-11 22:01
福大大架构师每日一题
阅读(38)
评论(0)
推荐(0)

浙公网安备 33010602011771号