/in/foo.cc: In function 'int main()':
/in/foo.cc:9:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
/in/foo.cc:28:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<=s.size();i++)
~^~~~~~~~~~
/in/foo.cc:54:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
/in/foo.cc:64:9: warning: 'mini' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i==mini)
^~
/in/foo.cc:56:9: warning: 'maxi' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i==maxi)
^~