bitaro.cpp: In function 'void unite(int, int, std::vector<std::pair<int, int> >&)':
bitaro.cpp:38:31: warning: comparison of constant '5' with boolean expression is always true [-Wbool-compare]
38 | while (fin.size() < SQRTN < 5 && (ac < track[a].size() || bc < track[b].size())) {
| ~~~~~~~~~~~~~~~~~~~^~~
bitaro.cpp:38:23: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
38 | while (fin.size() < SQRTN < 5 && (ac < track[a].size() || bc < track[b].size())) {
| ~~~~~~~~~~~^~~~~~~
bitaro.cpp:38:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | while (fin.size() < SQRTN < 5 && (ac < track[a].size() || bc < track[b].size())) {
| ~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:38:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | while (fin.size() < SQRTN < 5 && (ac < track[a].size() || bc < track[b].size())) {
| ~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:39:16: 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 (bc == track[b].size() || (ac < track[a].size() && track[a][ac].first > track[b][bc].first))
| ~~~^~~~~~~~~~~~~~~~~~
bitaro.cpp:39:42: 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 (bc == track[b].size() || (ac < track[a].size() && track[a][ac].first > track[b][bc].first))
| ~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:47:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | while (ac < track[a].size() && vis[track[a][ac].second]) ac++;
| ~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:48:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | while (bc < track[b].size() && vis[track[b][bc].second]) bc++;
| ~~~^~~~~~~~~~~~~~~~~