bitaro.cpp: In function 'std::vector<std::pair<int, int> > merge_vector(const std::vector<std::pair<int, int> >&, const std::vector<std::pair<int, int> >&)':
bitaro.cpp:18: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]
18 | while(x < a.size() and y < b.size() and ans.size() < BLOCK_SIZE) {
| ~~^~~~~~~~~~
bitaro.cpp:18: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]
18 | while(x < a.size() and y < b.size() and ans.size() < BLOCK_SIZE) {
| ~~^~~~~~~~~~
bitaro.cpp:30: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]
30 | while(x < a.size() and ans.size() < BLOCK_SIZE)
| ~~^~~~~~~~~~
bitaro.cpp:32: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]
32 | while(y < b.size() and ans.size() < BLOCK_SIZE) {
| ~~^~~~~~~~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:74:17: warning: unused variable 'ans' [-Wunused-variable]
74 | int ans = -1;
| ^~~
bitaro.cpp:45:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | freopen(TASK ".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:46:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | freopen(TASK ".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~