foo.cc: In function 'int main()':
foo.cc:8:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size();i++)
~^~~~~~~~~
foo.cc:13:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size()-1;i++)
~^~~~~~~~~~~
foo.cc:17:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<s.size()-1;j++)
~^~~~~~~~~~~
foo.cc:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<s.size()-1;i++)
~^~~~~~~~~~~
foo.cc:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<s.size()-1;j++)
~^~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。