/in/foo.cc: In function 'long long int work(std::__cxx11::string)':
/in/foo.cc:37:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:149:13: error: 'cin' was not declared in this scope
getline(cin,sss);
^~~
/in/foo.cc:149:13: note: suggested alternative: 'main'
getline(cin,sss);
^~~
main
/in/foo.cc:150:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sss.size();i++)
~^~~~~~~~~~~
/in/foo.cc:153:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<ss.size();i++)
~^~~~~~~~~~
/in/foo.cc:160:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<s2.size();j++)
~^~~~~~~~~~
/in/foo.cc:162:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<s.size();j++)
~^~~~~~~~~
/in/foo.cc:165:19: error: 'cout' was not declared in this scope
if(aim==z)cout<<b[i];
^~~~
/in/foo.cc:166:6: error: 'cout' was not declared in this scope
}cout<<endl;
^~~~
/in/foo.cc: In function 'int pre(char)':
/in/foo.cc:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^