foo.cc: In function 'int getNum(int*, int, int)':
foo.cc:14:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
foo.cc: In function 'bool find(int)':
foo.cc:87:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==s.size()-1&&s[i]=='0') return false;
~^~~~~~~~~~~~
foo.cc:90:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j>=s.size()-1) return true;
~^~~~~~~~~~~~
foo.cc:91: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;}
~^~~~~~~~~~~~
foo.cc: In function 'bool Equal000(std::__cxx11::string)':
foo.cc:168:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s1.size();++i)
~^~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:196:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int l=1;l<=s1.size();++l)
~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务