diff options
Diffstat (limited to 'graphs')
| -rw-r--r-- | graphs/task9_1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphs/task9_1.cpp b/graphs/task9_1.cpp index c3077cf..01f3307 100644 --- a/graphs/task9_1.cpp +++ b/graphs/task9_1.cpp @@ -34,7 +34,7 @@ int main() cout << "| Нумерация вершин с 1 |" << endl; cout << "o----------------------o" << endl; - cout << "Введите рёбра (неориентированные):" << endl; + cout << "Введите рёбра (ориентированные):" << endl; for (int i = 0; i < k; ++i) { int a, b; @@ -42,7 +42,6 @@ int main() a--; b--; g[a].push_back(b); - g[b].push_back(a); } cout << "Введённый граф:" << endl; |