Problem subgraphs
User Pan
Submission Time 2025-12-22 16:26:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

subgraphs.cpp: In function ‘void dfs(int)’:
subgraphs.cpp:7:14: error: ‘adj’ was not declared in this scope
7 | for(int i : adj[x]) if(!v[i]) dfs(i);
| ^~~