dfs & bfs_qsqlite_谛听-的博客-CSDN博客

网站介绍:图的构建及打印#include <iostream>#include <queue>#include <vector>using namespace std;const int MAX_V = 100;vector<vector<int>> adj(MAX_V);void AddEdge(int from, int to) { adj[from].push_back(to); adj[to].push_back(from)_qsqlite