bitaro.cpp: In function 'int main()':
bitaro.cpp:36:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() <= SQRT)
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:36:49: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() <= SQRT)
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:36:86: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() <= SQRT)
| ~~~~~~~~~~~~^~~~~~~
bitaro.cpp:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | if (l >= farthest[u].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:43:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | else if (r >= farthest[v].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:56: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]
56 | while (l < farthest[u].size() && vis[farthest[u][l].second])l++;
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:57: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]
57 | while (r < farthest[v].size() && vis[farthest[v][r].second])r++;
| ~~^~~~~~~~~~~~~~~~~~~~