/in/foo.cc: In function 'int main()':
/in/foo.cc:10:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<=s.length() && success;i++){
~^~~~~~~~~~~~
/in/foo.cc:10:31: error: 'success' was not declared in this scope
for(int i=0;i<=s.length() && success;i++){
^~~~~~~
/in/foo.cc:14:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<t.length()){
~^~~~~~~~~~~
/in/foo.cc:20:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==t.length())
~^~~~~~~~~~~~
/in/foo.cc:24:10: error: expected '}' at end of input
return 0;
^