/in/foo.cc: In function 'int main()':
/in/foo.cc:28:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=n;j++)
^~~
/in/foo.cc:30:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
swap(p,q);
^~~~
/in/foo.cc:49:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=n;j++)
^~~
/in/foo.cc:51:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
swap(p,q);
^~~~