catdog.cpp: In function 'int dfs(int, int)':
catdog.cpp:20:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(i=0;i<x[n].size();i++)
| ~^~~~~~~~~~~~
catdog.cpp:28:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(i=0;i<x[n].size();i++)
| ~^~~~~~~~~~~~
catdog.cpp:38:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(i=0;i<x[n].size();i++)
| ~^~~~~~~~~~~~