bitaro.cpp: In function 'int main()':
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 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() < SQRT)
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:39: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]
39 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() < SQRT)
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:39: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]
39 | while ((l < farthest[u].size() || r < farthest[v].size()) && vals.size() < SQRT)
| ~~~~~~~~~~~~^~~~~~
bitaro.cpp:42: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]
42 | if (l >= farthest[u].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:46: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]
46 | else if (r >= farthest[v].size()){
| ~~^~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:59: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]
59 | while (l < farthest[u].size() && vis[farthest[u][l].second])l++;
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.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 | while (r < farthest[v].size() && vis[farthest[v][r].second])r++;
| ~~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp: In function 'void setIO()':
bitaro.cpp:16:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | freopen("input.txt","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:17:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | freopen("output.txt","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~