/in/foo.cc: In function 'int getNum(int*, int, int)':
/in/foo.cc:15:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'bool find(int)':
/in/foo.cc:88:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==s.size()-1&&s[i]=='0') return false;
~^~~~~~~~~~~~
/in/foo.cc:91:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j>=s.size()-1) return true;
~^~~~~~~~~~~~
/in/foo.cc:92:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(n>=s.size()-1) {n=s.size()-1;if(!tailCheck(i,j,m,n)) return false;}
~^~~~~~~~~~~~
/in/foo.cc: In function 'bool Equal000(std::__cxx11::string)':
/in/foo.cc:169:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s1.size();++i)
~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:197:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int l=1;l<=s1.size();++l)
~^~~~~~~~~~~