/ new_bzoj /

记录详情

Runtime Error

/in/foo.cc: In function 'void spfa()':
/in/foo.cc:30:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++) dis[i]=1000000000;dis[1]=0;
  ^~~
/in/foo.cc:30:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  for(int i=1;i<=n;i++) dis[i]=1000000000;dis[1]=0;
                                          ^~~
/in/foo.cc:34:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i=head[now];i;i=e[i].nxt)
   ^~~
/in/foo.cc:41:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    vis[now]=0;
    ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Runtime Error 21ms 1.617 MiB
#3 Accepted 34ms 2.086 MiB
#4 Accepted 3ms 372.0 KiB
#5 Accepted 3ms 368.0 KiB
#6 Accepted 3ms 384.0 KiB
#7 Accepted 4ms 348.0 KiB
#8 Accepted 8ms 640.0 KiB
#9 Accepted 8ms 604.0 KiB
#10 Accepted 15ms 1.086 MiB

信息

递交者
类型
递交
题目
Chocolate Giving
语言
C++
递交时间
2017-10-21 06:54:45
评测时间
2017-10-21 06:54:45
评测机
分数
90
总耗时
108ms
峰值内存
2.086 MiB