bitaro.cpp: In function 'void solve()':
bitaro.cpp:50:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | for (j = 0; j < vr[i].size(); j++)
| ~~^~~~~~~~~~~~~~
bitaro.cpp:52: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]
52 | while (gg && ind[vr[i][j]] < has[vr[i][j]].size() && ogt[has[vr[i][j]][ind[vr[i][j]]].second] == 1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:56: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]
56 | if (ind[vr[i][j]] < has[vr[i][j]].size())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:61:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | for (j = 0; j < vr[i].size(); j++)
| ~~^~~~~~~~~~~~~~
bitaro.cpp:74: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]
74 | for ( j = 0; j < has[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:100:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
100 | for (int h = 0; h < v[j].size(); h++)
| ~~^~~~~~~~~~~~~
bitaro.cpp:110: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]
110 | for (j = 0; j < has[x].size(); j++)
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:122:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | 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;
| ^