/ gzezoier /

记录详情

Compile Error

/in/foo.cc: In function 'int EK(int, int)':
/in/foo.cc:39:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(u!=s)
   ^~~~~
/in/foo.cc:42:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    g[v][u]-=increase;
    ^
/in/foo.cc:41:8: warning: unused variable 'v' [-Wunused-variable]
    int v=pr[u];
        ^
/in/foo.cc:42:6: error: 'v' was not declared in this scope
    g[v][u]-=increase;
      ^
/in/foo.cc:48:2: warning: no return statement in function returning non-void [-Wreturn-type]
  }
  ^
/in/foo.cc: At global scope:
/in/foo.cc:49:2: error: expected unqualified-id before 'return'
  return maxflow;
  ^~~~~~
/in/foo.cc:50:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1027 草地排水
语言
C++
递交时间
2019-10-30 23:20:37
评测时间
2019-10-30 23:20:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes