Problem | subgraphs |
---|---|
User | Stefan |
Submission Time | 2025-03-08 10:25:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp:3:1: error: ‘vetor’ does not name a type
3 | vetor<int> adjlist[1000005];
| ^~~~~
subgraphs.cpp: In function ‘void dfs(int)’:
subgraphs.cpp:6:16: error: ‘adjlist’ was not declared in this scope
6 | for (auto v : adjlist[x]) {
| ^~~~~~~
subgraphs.cpp: In function ‘int main()’:
subgraphs.cpp:19:3: error: ‘adjlist’ was not declared in this scope
19 | adjlist[a].push_back(b);
| ^~~~~~~
subgraphs.cpp:23:6: error: expected ‘(’ before ‘visited’
23 | if visited[i]) continue;
| ^~~~~~~
| (
subgraphs.cpp:25:5: error: ‘c’ was not declared in this scope
25 | ++c;
| ^