bitaro.cpp: In function 'int main()':
bitaro.cpp:55:29: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
55 | while(res[i].size() < bl){
| ~~~~~~~~~~~~~~^~~~
bitaro.cpp:60:28: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if(ind[to] == res[to].size()) continue;
bitaro.cpp:61:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | while(x < res[to].size() && used[res[to][x].s])
| ~~^~~~~~~~~~~~~~~~
bitaro.cpp:63: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]
63 | if(x == res[to].size()) continue;
| ~~^~~~~~~~~~~~~~~~~
bitaro.cpp:79:26: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
79 | if(res[i].size() < bl) res[i].pb({0, i});
| ~~~~~~~~~~~~~~^~~~
bitaro.cpp:89:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | for(int j = 0; j < res[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:85:17: warning: unused variable 'ind' [-Wunused-variable]
85 | int ind = 0;
| ^~~
bitaro.cpp:72:34: warning: 'mxi' may be used uninitialized in this function [-Wmaybe-uninitialized]
72 | used[res[mxi][ind[mxi]].s] = true;
| ^