Problem jumpontree
User emyz
Submission Time 2025-12-20 13:08:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

jumpontree.cpp:5:1: error: expected ‘,’ or ‘;’ before ‘vector’
5 | vector<int> adj[MAXN];
| ^~~~~~
jumpontree.cpp: In function ‘void dfs(int, int)’:
jumpontree.cpp:17:18: error: ‘adj’ was not declared in this scope
17 | for (int u : adj[v]) {
| ^~~
jumpontree.cpp: In function ‘int main()’:
jumpontree.cpp:57:9: error: ‘adj’ was not declared in this scope
57 | adj[a].push_back(b);
| ^~~