Problem treecutting
User samvar0907
Submission Time 2024-01-24 01:59:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int main()’:
treecutting.cpp:46:66: error: ‘adj’ was not declared in this scope
46 | if (degree[j] == 1 && (j != center) && (find(adj[current].begin(), adj[current].end(), j) != adj[current].end())) {
| ^~~