diff options
| author | MZuenni <michi.zuendorf@gmail.com> | 2023-03-01 16:56:27 +0100 |
|---|---|---|
| committer | MZuenni <michi.zuendorf@gmail.com> | 2023-03-01 16:56:27 +0100 |
| commit | b15088d04aac27a3ef94cf79e68d681d735b1bbc (patch) | |
| tree | 96ba00e474790acd62d10a5d1ae5699e42cf6b4c /graph/bellmannFord.cpp | |
| parent | d8eefacaebee4e08aa92ae507d49079d90a93580 (diff) | |
reformatted empty lines
Diffstat (limited to 'graph/bellmannFord.cpp')
| -rw-r--r-- | graph/bellmannFord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/bellmannFord.cpp b/graph/bellmannFord.cpp index 785a42d..7ba51c0 100644 --- a/graph/bellmannFord.cpp +++ b/graph/bellmannFord.cpp @@ -1,7 +1,7 @@ void bellmannFord(int n, vector<edge> edges, int start) { vector<ll> dist(n, INF), parent(n, -1); dist[start] = 0; - + for (int i = 1; i < n; i++) { for (edge& e : edges) { if (dist[e.from] != INF && |
