Problem medianontree
User TheGhostKing
Submission Time 2023-12-16 11:15:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianontree.cpp: In function ‘int main()’:
medianontree.cpp:22:9: error: ‘adj’ was not declared in this scope
22 | adj[a].push_back(b);
| ^~~
medianontree.cpp:27:13: error: ‘adj’ was not declared in this scope
27 | if (adj[i].size() == 1){
| ^~~
medianontree.cpp:34:27: error: ‘adj’ was not declared in this scope
34 | for (auto u : adj[i]){
| ^~~