/in/foo.cc: In function 'int main()':
/in/foo.cc:19:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=2;i<=n;++i) pre[i]=i-1; pre[1]=n;
^~~
/in/foo.cc:19:40: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i=2;i<=n;++i) pre[i]=i-1; pre[1]=n;
^~~
/in/foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<n;++i) nxt[i]=i+1; nxt[n]=1;
^~~
/in/foo.cc:20:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (int i=1;i<n;++i) nxt[i]=i+1; nxt[n]=1;
^~~
/in/foo.cc:23:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (!q.empty()) q.pop(); q.push(pre[1]); q.push(nxt[1]);
^~~~~
/in/foo.cc:23:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (!q.empty()) q.pop(); q.push(pre[1]); q.push(nxt[1]);
^