diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-03-30 09:57:58 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-03-30 09:57:58 +0400 |
| commit | fd2cc58ff2184887178e581fb979405e47d0ab81 (patch) | |
| tree | 63b892c4123d3765e181773cecff462deec7eabb | |
| parent | dab8347a008c78708c62e271ce21c2af83730629 (diff) | |
Немного поправил 4 задачу
| -rw-r--r-- | graphs/task4.cpp | 2 |
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); } |