/in/foo.cc: In function 'int work(char*)':
/in/foo.cc:20:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=1;i<=n;++i)
^~~
/in/foo.cc:21:15: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
s[i+n]=s[i];i=1,j=2;
^
/in/foo.cc:25:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else i=i+k+1;if(i==j)++j;
^~~~
/in/foo.cc:25:16: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
else i=i+k+1;if(i==j)++j;
^~