Bob.cpp: In function 'long long int Bob(std::vector<std::pair<int, int> >)':
Bob.cpp:15:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for(int i=0;i<V.size();i++){
| ~^~~~~~~~~
Bob.cpp:17:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
17 | if(mp[V[i].F]==2)if(r.F==-1)r.F=V[i].F;else r.S=V[i].F;
| ^
Bob.cpp:18:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
18 | if(mp[V[i].S]==2)if(r.F==-1)r.F=V[i].F;else r.S=V[i].F;
| ^
Bob.cpp:20:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=0;i<V.size();i++){
| ~^~~~~~~~~
Bob.cpp:25:15: warning: statement has no effect [-Wunused-value]
25 | if(ans==0)ans==nodes*nodes;
| ~~~^~~~~~~~~~~~~