traffickers.cpp: In function 'void get_w(int, int)':
traffickers.cpp:7:5: error: 'w' was not declared in this scope
7 | w[nod] = 1;
| ^
traffickers.cpp:8:19: error: 'G' was not declared in this scope
8 | for(auto it : G[nod])
| ^
traffickers.cpp:16:9: error: 't' was not declared in this scope; did you mean 'tm'?
16 | t[it] = nod;
| ^
| tm
traffickers.cpp:17:22: error: 'Max' was not declared in this scope
17 | if(w[it] > w[Max[nod]])
| ^~~
traffickers.cpp: In function 'void get_paths(int, int, int)':
traffickers.cpp:26:5: error: 'poz' was not declared in this scope; did you mean 'pow'?
26 | poz[nod] = (++cnt);
| ^~~
| pow
traffickers.cpp:26:19: error: 'cnt' was not declared in this scope; did you mean 'int'?
26 | poz[nod] = (++cnt);
| ^~~
| int
traffickers.cpp:27:5: error: 'l' was not declared in this scope
27 | l[nod] = paths;
| ^
traffickers.cpp:27:14: error: 'paths' was not declared in this scope
27 | l[nod] = paths;
| ^~~~~
traffickers.cpp:28:8: error: 'G' was not declared in this scope
28 | if(G[nod].size()==1 && nod!=1)
| ^
traffickers.cpp:32:15: error: 'Max' was not declared in this scope
32 | get_paths(Max[nod],nod,level+1);
| ^~~
traffickers.cpp:33:19: error: 'G' was not declared in this scope
33 | for(auto it : G[nod])
| ^
traffickers.cpp:40:9: error: 'c' was not declared in this scope
40 | c[paths] = it;
| ^
traffickers.cpp:41:9: error: 'lvl' was not declared in this scope; did you mean 'level'?
41 | lvl[paths] = level + 1;
| ^~~
| level
traffickers.cpp: In function 'int main()':
traffickers.cpp:50:10: error: 'n' was not declared in this scope; did you mean 'yn'?
50 | cin>>n;
| ^
| yn
traffickers.cpp:55:9: error: 'G' was not declared in this scope
55 | G[x].push_back(y);
| ^
traffickers.cpp:60:10: error: 'k' was not declared in this scope
60 | cin>>k;
| ^
traffickers.cpp:65:9: error: 'add_traficker' was not declared in this scope
65 | add_traficker(x,y);
| ^~~~~~~~~~~~~
traffickers.cpp:67:10: error: 'q' was not declared in this scope
67 | cin>>q;
| ^
traffickers.cpp:76:13: error: 'add_traficker' was not declared in this scope
76 | add_traficker(x,y);
| ^~~~~~~~~~~~~
traffickers.cpp:82:13: error: 'remove_traficker' was not declared in this scope
82 | remove_traficker(x,y);
| ^~~~~~~~~~~~~~~~
traffickers.cpp:88:32: error: expected primary-expression before ')' token
88 | cout<<query_arb(t2,)
| ^
traffickers.cpp:88:19: error: 'query_arb' was not declared in this scope
88 | cout<<query_arb(t2,)
| ^~~~~~~~~