bitaro.cpp: In function 'void solve()':
bitaro.cpp:45:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (j = 0; j < vr[i].size(); j++)
| ~~^~~~~~~~~~~~~~
bitaro.cpp:47: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]
47 | while (gg && ind[vr[i][j]] < has[vr[i][j]].size() && ogt[has[vr[i][j]][ind[vr[i][j]]].second] == 1)
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:51: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]
51 | if (ind[vr[i][j]] < has[vr[i][j]].size())
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:64:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | for (j = 0; j < vr[i].size(); j++)
| ~~^~~~~~~~~~~~~~
bitaro.cpp:69:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | for (j = 0; j < has[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:95:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | for (int h = 0; h < v[j].size(); h++)
| ~~^~~~~~~~~~~~~
bitaro.cpp:105: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]
105 | for (j = 0; j < has[x].size(); j++)
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:117:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | 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;
| ^