记录详情

Accepted

/in/foo.cc: In function 'void set()':
/in/foo.cc:15:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   if(vin[i]==0) 
     ^
/in/foo.cc: In function 'void topsort(int)':
/in/foo.cc:23:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
     if((--vin[edge[i].to])==0)
       ^
/in/foo.cc:31:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
     if((--vin[edge[i].to])==0)
       ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:52:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++) vin[i]=vinn[i]; h1=h2=t1=t2=0;
  ^~~
/in/foo.cc:52:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=1;i<=n;i++) vin[i]=vinn[i]; h1=h2=t1=t2=0;
                                        ^~
# 状态 耗时 内存占用
#1 Accepted 5ms 4.309 MiB
#2 Accepted 3ms 4.312 MiB
#3 Accepted 2ms 4.312 MiB
#4 Accepted 25ms 5.066 MiB
#5 Accepted 2ms 4.309 MiB
#6 Accepted 2ms 4.309 MiB
#7 Accepted 823ms 15.613 MiB
#8 Accepted 691ms 13.812 MiB
#9 Accepted 853ms 14.941 MiB
#10 Accepted 257ms 8.43 MiB

信息

递交者
类型
递交
题目
保存名画
题目数据
下载
语言
C++
递交时间
2017-09-23 14:35:24
评测时间
2017-09-23 14:35:24
评测机
分数
100
总耗时
2667ms
峰值内存
15.613 MiB