Skip to content

Commit

Permalink
Update find-edges-in-shortest-paths.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kamyu104 authored Apr 21, 2024
1 parent 8f051f7 commit a320108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions C++/find-edges-in-shortest-paths.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class Solution {
}
return best;
};

const auto& dist1 = dijkstra(0);
const auto& dist2 = dijkstra(n - 1);
vector<bool> result(size(edges));
Expand Down

0 comments on commit a320108

Please sign in to comment.