Problem | subgraphs |
---|---|
User | asbx |
Submission Time | 2023-11-10 11:49:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:17:3: error: ‘dfs’ was not declared in this scope; did you mean ‘ffs’?
17 | dfs(i);
| ^~~
| ffs
subgraphs.cpp: In function ‘void dfs(int)’:
subgraphs.cpp:23:15: error: ‘V’ was not declared in this scope
23 | bool visited[V+1];
| ^
subgraphs.cpp:24:6: error: ‘g’ was not declared in this scope
24 | if (g[x]) return;
| ^
subgraphs.cpp:25:2: error: ‘subgraph’ was not declared in this scope
25 | subgraph = subgraph + 1;
| ^~~~~~~~
subgraphs.cpp:26:2: error: ‘visited’ was not declared in this scope
26 | visited[x] = true;
| ^~~~~~~
subgraphs.cpp:27:15: error: ‘adjlist’ was not declared in this scope
27 | for (auto i: adjlist[x]) {
| ^~~~~~~