Alice.cpp:4:1: error: 'vector' does not name a type
4 | vector <pair <int,int> > Alice(){
| ^~~~~~
Bob.cpp: In function 'long long int Bob(std::vector<std::pair<int, int> >)':
Bob.cpp:7: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]
7 | for(int i=0;i<adj.size();i++){
| ~^~~~~~~~~~~
Bob.cpp:14:2: error: 'ans' was not declared in this scope; did you mean 'abs'?
14 | ans=0;
| ^~~
| abs