From cfaa3acc302a4fbcab413bab8c44144d017260f3 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Dec 2022 08:42:34 +0900 Subject: [PATCH] Add add-piedroconti --- algorithms/Python/graphs/dijkstra.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/algorithms/Python/graphs/dijkstra.py b/algorithms/Python/graphs/dijkstra.py index c6709460..9a096e55 100644 --- a/algorithms/Python/graphs/dijkstra.py +++ b/algorithms/Python/graphs/dijkstra.py @@ -35,23 +35,23 @@ SAMPLE INPUT AND OUTPUT 5 6 - 0 + 0 4 0 1 - 0 1 2 - 0 2 3 - 1 2 4 - 1 3 5 - 2 3 6 + 0 1 2 + 0 2 3 + 1 2 4 + 1 3 5 + 2 3 6 Output: ___________ Distances from start node 0 0 - 2 - 3 - 7 - INF + 2 + 3 + 7 + INF """ for i in dist: