/in/foo.cc: In function 'void build()':
/in/foo.cc:59:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<temp.size()-1;++i)
~^~~~~~~~~~~~~~
/in/foo.cc:60:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i+1;j<temp.size();++j)
~^~~~~~~~~~~~
/in/foo.cc:82:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<temp.size();++i)
~^~~~~~~~~~~~
/in/foo.cc:86:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int r=temp[(i+1>temp.size()-1?0:i+1)]-'0';
~~~^~~~~~~~~~~~~~
/in/foo.cc:108:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<temp.size();++i)
~^~~~~~~~~~~~
/in/foo.cc:111:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int r=temp[(i+1>temp.size()-1?0:i+1)]-'0';
~~~^~~~~~~~~~~~~~
/in/foo.cc:117:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(new_string.empty()||new_string.size()>max_len)//||new_string.size()!=temp.size()+1)
~~~~~~~~~~~~~~~~~^~~~~~~~