traffic.cpp: In function 'void dfs(int, int)':
traffic.cpp:9:12: error: cannot convert 'std::vector<int>' to 'int' in initialization
9 | for(int i:v){
| ^
traffic.cpp: In function 'int LocateCentre(int, int*, int*, int*)':
traffic.cpp:29:7: error: 'll' was not declared in this scope
29 | pair<ll,int>res={0xE869120E869120,-1};
| ^~
traffic.cpp:29:13: error: template argument 1 is invalid
29 | pair<ll,int>res={0xE869120E869120,-1};
| ^
traffic.cpp:29:14: error: scalar object 'res' requires one element in initializer
29 | pair<ll,int>res={0xE869120E869120,-1};
| ^~~