Function to perform BFS on the graph ... vector< bool > visited(adj.size(), false ); ... for ( int i = 0; i < adj[vis].size(); i++) {.
確定! 回上一頁