0_0_21846369_2002.cpp: In function 'int main()': 0_0_21846369_2002.cpp:109:4: error: 'tree' was not declared in this scope tree[u].push_back(v); ^