/in/foo.cc: In function 'int main()':
/in/foo.cc:11:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:13:7: warning: value computed is not used [-Wunused-value]
s[i]-'0';
/in/foo.cc:16:12: error: request for member 'begin' in 'a', which is of non-class type 'int [10000]'
reverse(a.begin(),a.end());
^~~~~
/in/foo.cc:16:22: error: request for member 'end' in 'a', which is of non-class type 'int [10000]'
reverse(a.begin(),a.end());
^~~
/in/foo.cc:16:27: error: 'reverse' was not declared in this scope
reverse(a.begin(),a.end());
^
/in/foo.cc:18:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:29:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:31:8: error: 'ture' was not declared in this scope
a[i]=ture;
^~~~
/in/foo.cc:33:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:35:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<s.length();j++)
~^~~~~~~~~~~
/in/foo.cc:37:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(s[j]==a[i])
^~
/in/foo.cc:40:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
esle
^~~~
/in/foo.cc:40:5: error: 'esle' was not declared in this scope
/in/foo.cc:46:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:51:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt==s.length())
~~~^~~~~~~~~~~~
/in/foo.cc:55:12: error: request for member 'begin' in 'a', which is of non-class type 'int [10000]'
reverse(a.begin(),a.end());
^~~~~
/in/foo.cc:55:22: error: request for member 'end' in 'a', which is of non-class type 'int [10000]'
reverse(a.begin(),a.end());
^~~
/in/foo.cc:56:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<s.length();i++)
~^~~~~~~~~~~
/in/foo.cc:8:17: warning: unused variable 'k' [-Wunused-variable]
int i,a[10000],k=0,cnt=0;
^
/in/foo.cc:9:7: warning: unused variable 'b' [-Wunused-variable]
bool b[10000];
^