bitaro.cpp: In function 'void pre()':
bitaro.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p1 < ans[u].size() && p2 < ans[v].size() ) {
~~~^~~~~~~~~~~~~~~
bitaro.cpp:24:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p1 < ans[u].size() && p2 < ans[v].size() ) {
~~~^~~~~~~~~~~~~~~
bitaro.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p1 < ans[u].size() ) all[++ret] = pii( ans[u][p1].x + 1, ans[u][p1].y ), p1++;
~~~^~~~~~~~~~~~~~~
bitaro.cpp:29:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p2 < ans[v].size() ) all[++ret] = ans[v][p2++];
~~~^~~~~~~~~~~~~~~
bitaro.cpp:36:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( ans[v].size() > sq ) ans[v].pop_back();
~~~~~~~~~~~~~~^~~~
bitaro.cpp: In function 'int main()':
bitaro.cpp:72:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0 ; i < ans[q].size() ; i++ ) {
~~^~~~~~~~~~~~~~~
bitaro.cpp:53:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&n,&m,&qu);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:55:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&s,&e);
~~~~~^~~~~~~~~~~~~~~
bitaro.cpp:62:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&q,&temp);
~~~~~^~~~~~~~~~~~~~~~~~
bitaro.cpp:65:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
~~~~~^~~~~~~~~