/in/foo.cc: In function 'int count(std::__cxx11::string)':
/in/foo.cc:8:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size()-1;i++)
~^~~~~~~~~~~
/in/foo.cc:13:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(s.find(ch,t)!=-1)
~~~~~~~~~~~~^~~~
/in/foo.cc: In function 'int search(std::__cxx11::string, std::__cxx11::string*, int)':
/in/foo.cc:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a.find(b[i])!=-1)return 1;
~~~~~~~~~~~~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:34:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
/in/foo.cc:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size()-1;i++)
~^~~~~~~~~~~
/in/foo.cc:44:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(s.find(ch,t)!=-1)
~~~~~~~~~~~~^~~~