traffic.cpp: In function 'long long int dfs(int, int)':
traffic.cpp:12:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 0 ; i < g[nodo].size(); ++i){
| ~~^~~~~~~~~~~~~~~~
traffic.cpp: In function 'int LocateCentre(int, int*, int*, int*)':
traffic.cpp:30:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i = 0; i < g[0].size(); ++i){
| ~~^~~~~~~~~~~~~
traffic.cpp:40:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int i = 0; i < g[aux].size(); ++i){
| ~~^~~~~~~~~~~~~~~
traffic.cpp: At global scope:
traffic.cpp:20:36: warning: 'D' defined but not used [-Wunused-variable]
20 | static int N,P[1000000],S[1000000],D[1000000];
| ^
traffic.cpp:20:25: warning: 'S' defined but not used [-Wunused-variable]
20 | static int N,P[1000000],S[1000000],D[1000000];
| ^
traffic.cpp:20:14: warning: 'P' defined but not used [-Wunused-variable]
20 | static int N,P[1000000],S[1000000],D[1000000];
| ^
traffic.cpp:20:12: warning: 'N' defined but not used [-Wunused-variable]
20 | static int N,P[1000000],S[1000000],D[1000000];
| ^