/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'flow_t extendFlow(int, flow_t)':
/in/foo.cc:74:64: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if (t = extendFlow(e[i].endVertexId, min(flow, e[i].remain)))
                                                                ^
/in/foo.cc: In function 'flow_t Dinic()':
/in/foo.cc:87:41: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while (flow = extendFlow(S, FLOW_INFTY))
                                         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:125:19: error: 'm' was not declared in this scope
  printf("%.6f\n", m);
                   ^

信息

递交者
类型
自测
题目
P2016 新生舞会
语言
C++
递交时间
2017-11-29 20:40:33
评测时间
2017-11-29 20:40:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes