/ WHOJ /

记录详情

Time Exceeded

foo.cc: In function 'void set()':
foo.cc:15:19: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   15 |                 if(vin[i]==0)
      |                   ^
foo.cc: In function 'void topsort(int)':
foo.cc:23:35: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   23 |                                 if((--vin[edge[i].to])==0)
      |                                   ^
foo.cc:31:35: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   31 |                                 if((--vin[edge[i].to])==0)
      |                                   ^
foo.cc: In function 'int main()':
foo.cc:52:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   52 |         for(int i=1;i<=n;i++) vin[i]=vinn[i]; h1=h2=t1=t2=0;
      |         ^~~
foo.cc:52:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   52 |         for(int i=1;i<=n;i++) vin[i]=vinn[i]; h1=h2=t1=t2=0;
      |                                               ^~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 42ms 1.492 MiB
#5 Accepted 3ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 898ms 11.242 MiB
#9 Time Exceeded ≥1000ms ≥13.492 MiB
#10 Accepted 177ms 4.242 MiB

信息

递交者
类型
递交
题目
P1638 文物
题目数据
下载
语言
C++
递交时间
2022-09-04 15:28:08
评测时间
2022-09-04 15:28:08
评测机
分数
90
总耗时
≥2135ms
峰值内存
≥13.492 MiB