bitaro.cpp: In function 'void _merge(int, int)':
bitaro.cpp:22:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | while (l < V[v].size() && r < V[u].size() && tmp.size() < SQ) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:22:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | while (l < V[v].size() && r < V[u].size() && tmp.size() < SQ) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:23: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]
23 | while (l < V[v].size() && prv[V[v][l].se] == cur)
| ~~^~~~~~~~~~~~~
bitaro.cpp:25: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]
25 | while (r < V[u].size() && prv[V[u][r].se] == cur)
| ~~^~~~~~~~~~~~~
bitaro.cpp:27:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (l == V[v].size() || r == V[u].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp:27:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (l == V[v].size() || r == V[u].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp:42:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | while (tmp.size() < SQ && l < V[v].size()) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:43: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]
43 | while (l < V[v].size() && prv[V[v][l].se] == cur)
| ~~^~~~~~~~~~~~~
bitaro.cpp:45:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if (l == V[v].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp:51:33: 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 | while (tmp.size() < SQ && r < V[u].size()) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:52: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]
52 | while (r < V[u].size() && prv[V[u][r].se] == cur) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:55:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if (r == V[u].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp: In function 'void solve()':
bitaro.cpp:110:28: 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 | while (inx < tmp.size() && st[j].find(tmp[inx].se) != st[j].end()) {
| ~~~~^~~~~~~~~~~~
bitaro.cpp:113:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
113 | ans[j] = (inx == tmp.size() ? -1 : tmp[inx].fi);
| ~~~~^~~~~~~~~~~~~
bitaro.cpp:117:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
117 | while (inx < V[i].size() && st[j].find(V[i][inx].se) != st[j].end())
| ~~~~^~~~~~~~~~~~~
bitaro.cpp:119:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | ans[j] = (inx == V[i].size() ? -1 : V[i][inx].fi);
| ~~~~^~~~~~~~~~~~~~