/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:21: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%.6f\n", m);
^
/in/foo.cc:117:10: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
m = (l + r) / 2;
~~~^~~~
/in/foo.cc:116:11: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
while (l + 1e-8 < r) {
~~^~~~~~