/in/foo.cc: In function 'int main()':
/in/foo.cc:13:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:15:7: warning: value computed is not used [-Wunused-value]
s[i]-'0';
/in/foo.cc:19:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:30:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:34:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:36:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<s.length();j++)
~^~~~~~~~~~~
/in/foo.cc:49:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:54:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt==s.length())
~~~^~~~~~~~~~~~
/in/foo.cc:59:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:9:17: warning: unused variable 'k' [-Wunused-variable]
int i,a[10000],k=0,cnt=0;
^
/in/foo.cc:10:7: warning: unused variable 'b' [-Wunused-variable]
bool b[10000];
^