bitaro.cpp: In function 'void solve()':
bitaro.cpp:54:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | for (j = 0; j < vr[i].size(); j++)
| ~~^~~~~~~~~~~~~~
bitaro.cpp:56:32: 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 (gg && ind[vr[i][j]] < has[vr[i][j]].size() && ogt[has[vr[i][j]][ind[vr[i][j]]].second] == 1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:60: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]
60 | if (ind[vr[i][j]] < has[vr[i][j]].size())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (j = 0; j < vr[i].size(); j++)
| ~~^~~~~~~~~~~~~~
bitaro.cpp:78:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for ( j = 0; j < has[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:104:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
104 | for (int h = 0; h < v[j].size(); h++)
| ~~^~~~~~~~~~~~~
bitaro.cpp:114:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for (j = 0; j < has[x].size(); j++)
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:126:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
126 | for (j = 0; j < nsh.size(); j++)
| ~~^~~~~~~~~~~~
bitaro.cpp:32:24: warning: unused variable 'a' [-Wunused-variable]
32 | int n, i, j, m, x, y, a, b, c, q;
| ^
bitaro.cpp:32:27: warning: unused variable 'b' [-Wunused-variable]
32 | int n, i, j, m, x, y, a, b, c, q;
| ^