bitaro.cpp: In function 'std::vector<pii> merge(std::vector<pii>&, std::vector<pii>&)':
bitaro.cpp:23:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(l < a.size() || r < b.size()) {
~~^~~~~~~~~~
bitaro.cpp:23:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(l < a.size() || r < b.size()) {
~~^~~~~~~~~~
bitaro.cpp:26:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l == a.size()) {
~~^~~~~~~~~~~
bitaro.cpp:31:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (r == b.size()) {
~~^~~~~~~~~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:89:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &q);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:92:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &p, &q);
~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:101:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t, &y);
~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:105:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
~~~~~^~~~~~~~~~