bitaro.cpp: In function 'std::vector<std::pair<int, int> > merge_vector(std::vector<std::pair<int, int> >, std::vector<std::pair<int, int> >)':
bitaro.cpp:21:13: 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(x < a.size() and y < b.size() and ans.size() < BLOCK_SIZE) {
| ~~^~~~~~~~~~
bitaro.cpp:21:30: 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(x < a.size() and y < b.size() and ans.size() < BLOCK_SIZE) {
| ~~^~~~~~~~~~
bitaro.cpp:27:13: 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 | while(x < a.size() and ans.size() < BLOCK_SIZE)
| ~~^~~~~~~~~~
bitaro.cpp:29:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while(y < b.size() and ans.size() < BLOCK_SIZE)
| ~~^~~~~~~~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:67:17: warning: unused variable 'ans' [-Wunused-variable]
67 | int ans = -1;
| ^~~
bitaro.cpp:38:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | freopen(TASK ".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:39:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | freopen(TASK ".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~