parks.cpp: In function 'int construct_roads(std::vector<int>, std::vector<int>)':
parks.cpp:52:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i = 0; i + 1 < L.size(); ++i){
| ~~~~~~^~~~~~~~~~
parks.cpp:57:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
57 | b.pb(L[i + 1].first + L[i].first>>1);
parks.cpp:60:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int i = 0; i + 1 < R.size(); ++i){
| ~~~~~~^~~~~~~~~~
parks.cpp:65:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
65 | b.pb(R[i + 1].first + R[i].first>>1);
parks.cpp:68:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for(int i = 0; i + 1 < M.size(); ++i){
| ~~~~~~^~~~~~~~~~
parks.cpp:73:29: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
73 | b.pb(M[i + 1].first + M[i].first>>1);
parks.cpp:78:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int i = 0; i < M.size(); ++i){
| ~~^~~~~~~~~~
parks.cpp:79:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | while(p < R.size() && R[p].first < M[i].first) ++p;
| ~~^~~~~~~~~~
parks.cpp:80:21: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'size'
80 | if(p < R[p].size() && R[p].first == M[i].first){
| ^~~~
parks.cpp:91:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for(int i = 0; i < M.size(); ++i){
| ~~^~~~~~~~~~
parks.cpp:92:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | while(p < L.size() && L[p].first < M[i].first) ++p;
| ~~^~~~~~~~~~
parks.cpp:93:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | if(p < L.size() && L[p].first == M[i].first){
| ~~^~~~~~~~~~