mousetrap.cpp: In function 'int main()':
mousetrap.cpp:80:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | for(int i=1; i<V.size(); i++)
| ~^~~~~~~~~
mousetrap.cpp:83:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | if(i+1<V.size())
| ~~~^~~~~~~~~
mousetrap.cpp:90:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | for(int i=1; i<V.size(); i++)
| ~^~~~~~~~~
mousetrap.cpp:95:17: warning: unused variable 'cnt' [-Wunused-variable]
95 | int a=0, b=0, cnt=0;
| ^~~
mousetrap.cpp:68:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
68 | scanf("%d%d%d", &N, &R, &X);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
mousetrap.cpp:72:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
72 | scanf("%d%d", &u, &v);
| ~~~~~^~~~~~~~~~~~~~~~