mousetrap.cpp: In function 'void DFS2(int, int, int)':
mousetrap.cpp:38:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i=0;i<g[v].size();i++)
| ~^~~~~~~~~~~~
mousetrap.cpp: In function 'int main()':
mousetrap.cpp:59:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i=0;i<g[t].size();i++)
| ~^~~~~~~~~~~~
mousetrap.cpp:52:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
52 | scanf("%d %d %d",&n,&t,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
mousetrap.cpp:55:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
55 | int a,b; scanf("%d %d",&a,&b);
| ~~~~~^~~~~~~~~~~~~~~