race.cpp:9:1: error: 'vector' does not name a type; did you mean 'wctob'?
vector<pii> adj[N];
^~~~~~
wctob
race.cpp: In function 'void get_size(int, int)':
race.cpp:16:19: error: 'adj' was not declared in this scope
for(auto& c : adj[v]){
^~~
race.cpp: In function 'int get_centroid(int, int)':
race.cpp:25:19: error: 'adj' was not declared in this scope
for(auto& c : adj[v]){
^~~
race.cpp: At global scope:
race.cpp:34:1: error: 'queue' does not name a type; did you mean 'sigqueue'?
queue<pii> q;
^~~~~
sigqueue
race.cpp: In function 'void dfs(int, int, int, int)':
race.cpp:36:11: error: 'min' was not declared in this scope
ans = min(ans, len[s - l] + cnt);
^~~
race.cpp:36:11: note: suggested alternative:
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from race.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:3456:5: note: 'std::min'
min(initializer_list<_Tp> __l, _Compare __comp)
^~~
race.cpp:37:5: error: 'q' was not declared in this scope
q.push({l, cnt});
^
race.cpp:39:19: error: 'adj' was not declared in this scope
for(auto& c : adj[v]){
^~~
race.cpp: In function 'void decomp(int)':
race.cpp:56:19: error: 'adj' was not declared in this scope
for(auto &c : adj[v]){
^~~
race.cpp:62:19: error: 'adj' was not declared in this scope
for(auto &c : adj[v]){
^~~
race.cpp: In function 'int best_path(int, int, int (*)[2], int*)':
race.cpp:74:9: error: 'adj' was not declared in this scope
adj[h[i][0]].pb({h[i][1], l[i]});
^~~