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