roz.cpp: In function 'int ask(int, int)':
roz.cpp:19:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(l<seen[big].size()||r<seen[small].size())
~^~~~~~~~~~~~~~~~~
roz.cpp:19:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(l<seen[big].size()||r<seen[small].size())
~^~~~~~~~~~~~~~~~~~~
roz.cpp:21:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l==seen[big].size())
~^~~~~~~~~~~~~~~~~~
roz.cpp:26:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(r==seen[small].size())
~^~~~~~~~~~~~~~~~~~~~
roz.cpp: In function 'int get_inp()':
roz.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ret);
~~~~~^~~~~~~~~~~
roz.cpp:10:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
while('a'>ret||ret>'z')scanf("%c",&ret);
~~~~~^~~~~~~~~~~
roz.cpp: In function 'int main()':
roz.cpp:48:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&n);
~~~~~^~~~~~~~~