bitaro.cpp: In function 'void solve_query(QUERY)':
bitaro.cpp:48:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<gp[i].size(); j++){
~^~~~~~~~~~~~~
bitaro.cpp: In function 'void solve()':
bitaro.cpp:73:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<gp[i].size(); j++){
~^~~~~~~~~~~~~
bitaro.cpp:74:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<vt[gp[i][j]].size(); k++){
~^~~~~~~~~~~~~~~~~~~~
bitaro.cpp:80:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(index<vt[i].size() && cnt<SQ){
~~~~~^~~~~~~~~~~~~
bitaro.cpp:90:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(vt[i].size()>SQ || vt[i].back().data==-1) vt[i].pop_back();
~~~~~~~~~~~~^~~
bitaro.cpp:91:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<vt[i].size(); j++){
~^~~~~~~~~~~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:117:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<Query.size(); i++){
~^~~~~~~~~~~~~
bitaro.cpp:98: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:101:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
~~~~~^~~~~~~~~~~~~~~~
bitaro.cpp:106:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &tmp.t, &tmp.y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:111:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); tmp.c.push_back(x);
~~~~~^~~~~~~~~~