bitaro.cpp: In function 'void pre()':
bitaro.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p1 < ans[u].size() && p2 < ans[v].size() ) {
~~~^~~~~~~~~~~~~~~
bitaro.cpp:22:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p1 < ans[u].size() && p2 < ans[v].size() ) {
~~~^~~~~~~~~~~~~~~
bitaro.cpp:26: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:27:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while( p2 < ans[v].size() ) all[++ret] = ans[v][p2++];
~~~^~~~~~~~~~~~~~~
bitaro.cpp:34: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:51: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:53: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:60: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:63:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
~~~~~^~~~~~~~~