bitaro.cpp: In function 'int main()':
bitaro.cpp:37: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]
37 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() <= SQRT)
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:37: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]
37 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() <= SQRT)
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:37: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]
37 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() <= SQRT)
| ~~~~~~~~~~~~^~~~~~~
bitaro.cpp:40: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]
40 | if (l >= farthest[u].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:44: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]
44 | else if (r >= farthest[v].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~
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 (l < farthest[u].size() && vis[farthest[u][l].second])l++;
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:58: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]
58 | while (r < farthest[v].size() && vis[farthest[v][r].second])r++;
| ~~^~~~~~~~~~~~~~~~~~~~