/in/foo.cc: In function 'int main()':
/in/foo.cc:29:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<start.size()-1;++j)
~^~~~~~~~~~~~~~~
/in/foo.cc:30:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t=j+1;t<start.size();++t)
~^~~~~~~~~~~~~
/in/foo.cc:46:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<start.size();++j)
~^~~~~~~~~~~~~
/in/foo.cc:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
r=start[(j+1>start.size()-1?0:j+1)]-'0',
~~~^~~~~~~~~~~~~~~
/in/foo.cc:64:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<start.size();++j)
~^~~~~~~~~~~~~
/in/foo.cc:67:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
r=start[(j+1>start.size()-1?0:j+1)]-'0';
~~~^~~~~~~~~~~~~~~