foo.cc: In function 'int main()':
foo.cc:30:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(re int i=1;i<=n;++i)if(!d[i])q.push((node){i,a[i]});cnt=0;
^~~
foo.cc:30:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(re int i=1;i<=n;++i)if(!d[i])q.push((node){i,a[i]});cnt=0;
^~~
foo.cc:40:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(re int i=n;i;--i)printf("%d ",p[i]);puts("");
^~~
foo.cc:40:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(re int i=n;i;--i)printf("%d ",p[i]);puts("");
^~~~
[Hydro](https://hydro.ac)提供评测服务