/ Vijos /

记录详情

Wrong Answer

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Wrong Answer Read 139, expect 198. 2ms 512.0 KiB
#5 Wrong Answer Read 231, expect 128. 3ms 512.0 KiB
#6 Wrong Answer Read 10, expect 329. 3ms 640.0 KiB
#7 Wrong Answer Read 1421, expect 1000. 10ms 896.0 KiB
#8 Wrong Answer Read 816, expect 1500. 15ms 1016.0 KiB
#9 Wrong Answer Read 308, expect 1373. 14ms 1008.0 KiB
#10 Wrong Answer Read 211, expect 311. 14ms 1.0 MiB

信息

递交者
类型
递交
题目
P1819 航空管制
语言
C++
递交时间
2021-07-21 09:13:39
评测时间
2021-07-21 09:13:39
评测机
分数
30
总耗时
71ms
峰值内存
1.0 MiB