/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int dfs(int, int)':
/in/foo.cc:34:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(x==n) return flow;int k;
  ^~
/in/foo.cc:34:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(x==n) return flow;int k;
                       ^~~
/in/foo.cc:39:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(k=dfs(u,min(w[i],flow)))
                             ^
# 状态 耗时 内存占用
#1 Accepted 4ms 348.0 KiB
#2 Accepted 3ms 276.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 4ms 256.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 4ms 336.0 KiB
#8 Accepted 4ms 384.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1524 最小监视代价
语言
C++
递交时间
2017-12-22 22:46:39
评测时间
2017-12-22 22:46:39
评测机
分数
100
总耗时
40ms
峰值内存
384.0 KiB