bitaro.cpp: In function 'void merge(int, int)':
bitaro.cpp:35:20: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
35 | while(m.size() < sq && (l < vc[x].size() || r < vc[y].size())){
| ~~~~~~~~~^~~~
bitaro.cpp:35:31: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while(m.size() < sq && (l < vc[x].size() || r < vc[y].size())){
| ~~^~~~~~~~~~~~~~
bitaro.cpp:35:51: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while(m.size() < sq && (l < vc[x].size() || r < vc[y].size())){
| ~~^~~~~~~~~~~~~~
bitaro.cpp:36:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(l != vc[x].size() && b[vc[x][l].se] == 1) l++;
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:37:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | while(r != vc[y].size() && b[vc[y][r].se] == 1) r++;
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:38:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(l == vc[x].size() && r == vc[y].size())
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:38:35: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(l == vc[x].size() && r == vc[y].size())
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:40:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if((l != vc[x].size() && r != vc[y].size() && vc[x][l].fi > vc[y][l].fi) || r == vc[y].size())
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:40:36: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if((l != vc[x].size() && r != vc[y].size() && vc[x][l].fi > vc[y][l].fi) || r == vc[y].size())
| ~~^~~~~~~~~~~~~~~
bitaro.cpp:40:87: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if((l != vc[x].size() && r != vc[y].size() && vc[x][l].fi > vc[y][l].fi) || r == vc[y].size())
| ~~^~~~~~~~~~~~~~~
bitaro.cpp: In function 'void solve()':
bitaro.cpp:51:16: warning: unused variable 'j' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
bitaro.cpp:51:28: warning: unused variable 'z' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
bitaro.cpp:51:32: warning: unused variable 's' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
bitaro.cpp:51:40: warning: unused variable 'f' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
bitaro.cpp:51:43: warning: unused variable 'l' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
bitaro.cpp:51:47: warning: unused variable 'r' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^
bitaro.cpp:51:67: warning: unused variable 'mn' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^~
bitaro.cpp:51:80: warning: unused variable 'mx' [-Wunused-variable]
51 | ll q , i , j , m , n, z , s = 0, f, l , r , k , x = 0 , y , mn = 1e18 , mx = -1;
| ^~
bitaro.cpp: In function 'int main()':
bitaro.cpp:92:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
92 | freopen("input.txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:93:13: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
93 | freopen("output.txt", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~