catdog.cpp: In function 'int dfs(int, int)':
catdog.cpp:19:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(i=0;i<x[n].size();i++)
| ~^~~~~~~~~~~~
catdog.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(i=0;i<x[n].size();i++)
| ~^~~~~~~~~~~~
catdog.cpp:34:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(i=0;i<x[n].size();i++)
| ~^~~~~~~~~~~~
catdog.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
40 | }
| ^