race.cpp: In function 'void szdfs(int, int)':
race.cpp:17:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i=0; i<adj[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~~
race.cpp: In function 'int Centroid(int, int)':
race.cpp:29:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i=0; i<adj[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~~
race.cpp: In function 'void distances(int, int, int)':
race.cpp:42:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int i=0; i<adj[node].size(); ++i){
| ~^~~~~~~~~~~~~~~~~
race.cpp: In function 'void Centroid_desc(int)':
race.cpp:60:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int i=0; i<adj[root].size(); ++i){
| ~^~~~~~~~~~~~~~~~~
race.cpp:71:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i=0; i<adj[root].size(); ++i){
| ~^~~~~~~~~~~~~~~~~