summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-03-30 09:57:58 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-03-30 09:57:58 +0400
commitfd2cc58ff2184887178e581fb979405e47d0ab81 (patch)
tree63b892c4123d3765e181773cecff462deec7eabb
parentdab8347a008c78708c62e271ce21c2af83730629 (diff)
Немного поправил 4 задачу
-rw-r--r--graphs/task4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphs/task4.cpp b/graphs/task4.cpp
index ff011cc..80737f0 100644
--- a/graphs/task4.cpp
+++ b/graphs/task4.cpp
@@ -40,7 +40,7 @@ void dfs(int x, graph g, vector<int> *path)
{
int n = int(g.size());
vector<int> used(n);
- return dfs(x, g, path, &used);
+ dfs(x, g, path, &used);
}