QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#845574#143. 最大流(随机数据)PTqwq_Compile Error//C++141.9kb2025-01-06 17:10:172025-01-06 17:10:17

详细

answer.code:6:9: error: ‘i64’ does not name a type
    6 |         i64 val;
      |         ^~~
answer.code:17:34: error: ‘i64’ has not been declared
   17 |     void add_edge_(int u, int v, i64 w) {
      |                                  ^~~
answer.code:25:33: error: ‘i64’ has not been declared
   25 |     void add_edge(int u, int v, i64 w) {
      |                                 ^~~
answer.code:30:5: error: ‘i64’ does not name a type
   30 |     i64 dfs(int u, int posT, i64 curF) {
      |     ^~~
answer.code:67:5: error: ‘i64’ does not name a type
   67 |     i64 dinic(int posS, int posT) {
      |     ^~~
answer.code: In member function ‘bool MaxFlow<N, M>::bfs(int, int)’:
answer.code:50:9: error: ‘queue’ was not declared in this scope
   50 |         queue<int> Q;
      |         ^~~~~
answer.code:50:15: error: expected primary-expression before ‘int’
   50 |         queue<int> Q;
      |               ^~~
answer.code:52:9: error: ‘Q’ was not declared in this scope
   52 |         Q.push(posS), dep[posS] = 0;
      |         ^
answer.code:56:22: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
   56 |                 auto [nxt_, v, w] = e[i];
      |                      ^