bitaro.cpp: In function 'void _merge(int, int)':
bitaro.cpp:21: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]
21 | while (l < V[v].size() && r < V[u].size() && tmp.size() < SQ) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:21: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]
21 | while (l < V[v].size() && r < V[u].size() && tmp.size() < SQ) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:22: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]
22 | while (l < V[v].size() && prv[V[v][l].se] == cur)
| ~~^~~~~~~~~~~~~
bitaro.cpp:24: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]
24 | while (r < V[u].size() && prv[V[u][r].se] == cur)
| ~~^~~~~~~~~~~~~
bitaro.cpp:26: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]
26 | if (l == V[v].size() || r == V[u].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp:26: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]
26 | if (l == V[v].size() || r == V[u].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp:41: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]
41 | while (tmp.size() < SQ && l < V[v].size()) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:42: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]
42 | while (l < V[v].size() && prv[V[v][l].se] == cur)
| ~~^~~~~~~~~~~~~
bitaro.cpp:44: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]
44 | if (l == V[v].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp:50: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]
50 | while (tmp.size() < SQ && r < V[u].size()) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:51: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]
51 | while (r < V[u].size() && prv[V[u][r].se] == cur) {
| ~~^~~~~~~~~~~~~
bitaro.cpp:54: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]
54 | if (r == V[u].size())
| ~~^~~~~~~~~~~~~~
bitaro.cpp: In function 'void solve()':
bitaro.cpp:111: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]
111 | while (inx < tmp.size() && st[j].find(tmp[inx].se) != st[j].end()) {
| ~~~~^~~~~~~~~~~~
bitaro.cpp:114: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]
114 | ans[j] = (inx == tmp.size() ? -1 : tmp[inx].fi);
| ~~~~^~~~~~~~~~~~~
bitaro.cpp:118: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]
118 | while (inx < V[i].size() && st[j].find(V[i][inx].se) != st[j].end())
| ~~~~^~~~~~~~~~~~~
bitaro.cpp:120: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]
120 | ans[j] = (inx == V[i].size() ? -1 : V[i][inx].fi);
| ~~~~^~~~~~~~~~~~~~