/ new_bzoj /

记录详情

Accepted

/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 3ms 324.0 KiB
#2 Accepted 31ms 2.953 MiB
#3 Accepted 17ms 2.867 MiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 2.328 MiB
#6 Accepted 1ms 328.0 KiB
#7 Accepted 1ms 2.316 MiB
#8 Accepted 3ms 588.0 KiB
#9 Accepted 4ms 2.445 MiB
#10 Accepted 8ms 2.57 MiB

信息

递交者
类型
递交
题目
Chocolate Giving
语言
C++
递交时间
2017-10-21 12:07:53
评测时间
2017-10-21 12:07:53
评测机
分数
100
总耗时
75ms
峰值内存
2.953 MiB