traffic.cpp: In function 'void dfs(int)':
traffic.cpp:15:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<adj[j].size();i++){
| ~^~~~~~~~~~~~~~
traffic.cpp: In function 'long long int calc(int)':
traffic.cpp:24:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=0;i<adj[j].size();i++){
| ~^~~~~~~~~~~~~~
traffic.cpp: In function 'void check(int)':
traffic.cpp:32:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0;i<adj[j].size();i++){
| ~^~~~~~~~~~~~~~
traffic.cpp: In function 'int LocateCentre(int, int*, int*, int*)':
traffic.cpp:67:9: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]
67 | return id;
| ^~