/in/foo.cc: In function 'int main()':
/in/foo.cc:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.length();i++)
~^~~~~~~~~~~
/in/foo.cc:15:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.length();i++)
~^~~~~~~~~~~
/in/foo.cc:21:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<a.length();i++)
~^~~~~~~~~~~
/in/foo.cc:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=oo+1;i<a.length();i++)
~^~~~~~~~~~~
/in/foo.cc:7:20: warning: unused variable 'cnt' [-Wunused-variable]
int b[100000],k=0,cnt=0,oo;
^~~
/in/foo.cc:27:15: warning: 'oo' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=oo+1;i<a.length();i++)
^