traffic.cpp:7:1: error: expected ',' or ';' before 'vector'
7 | vector<vector<int>> g(mxN);
| ^~~~~~
traffic.cpp: In function 'void dfs(int, int)':
traffic.cpp:12:14: error: 'g' was not declared in this scope
12 | for(auto e: g[cur]) {
| ^
traffic.cpp: In function 'int LocateCentre(int, int*, int*, int*)':
traffic.cpp:25:3: error: 'g' was not declared in this scope
25 | g[s[i]].push_back(d[i]);
| ^
traffic.cpp:30:3: error: 'citiySize' was not declared in this scope; did you mean 'citySize'?
30 | citiySize[i] = p[i];
| ^~~~~~~~~
| citySize