/ Vijos /

记录详情

Accepted

foo.cpp: In function 'long long int mcf()':
foo.cpp:28:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int i=pre[T];i;i=pre[e[i^1].y]) mf=min(mf,e[i].z);ans+=mf*d[T];
         ^~~
foo.cpp:28:63: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(int i=pre[T];i;i=pre[e[i^1].y]) mf=min(mf,e[i].z);ans+=mf*d[T];
                                                               ^~~
# 状态 耗时 内存占用
#1 Accepted 0ms 964.0 KiB
#2 Accepted 0ms 884.0 KiB
#3 Accepted 15ms 884.0 KiB
#4 Accepted 0ms 884.0 KiB
#5 Accepted 0ms 884.0 KiB
#6 Accepted 0ms 960.0 KiB
#7 Accepted 0ms 956.0 KiB
#8 Accepted 0ms 956.0 KiB
#9 Accepted 0ms 964.0 KiB
#10 Accepted 0ms 956.0 KiB

信息

递交者
类型
递交
题目
P1891 学姐的逛街计划
语言
C++
递交时间
2017-03-06 19:34:17
评测时间
2017-03-06 19:34:17
评测机
分数
100
总耗时
15ms
峰值内存
964.0 KiB