bitaro.cpp: In function 'std::vector<std::pair<int, int> > get(std::vector<std::pair<int, int> >, std::vector<std::pair<int, int> >)':
bitaro.cpp:15:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); i ++)
~~^~~~~~~~~~
bitaro.cpp:20:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size() && res.size() <= B){
~~^~~~~~~~~~
bitaro.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && j < b.size() && res.size() <= B){
~~^~~~~~~~~~
bitaro.cpp:33:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < a.size() && res.size() <= B){
~~^~~~~~~~~~
bitaro.cpp:41:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j < b.size() && res.size() <= B){
~~^~~~~~~~~~
bitaro.cpp:49:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < res.size(); i ++)
~~^~~~~~~~~~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:100:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < vd[t].size(); i ++){
~~^~~~~~~~~~~~~~
bitaro.cpp:56:12: 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:60:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:74:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t, &y);
~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:78:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
~~~~~^~~~~~~~~~