QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#319515 | #6140. 矩阵游戏 | ZhangYiDe | Compile Error | / | / | C++14 | 3.0kb | 2024-02-02 17:43:07 | 2024-02-02 17:43:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In member function ‘bool SPFA::solve()’: answer.code:49:23: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions] 49 | for (auto [v, w] : adj[u]) { | ^ answer.code: In function ‘void solve()’: answer.code:73:17: error: missing template arguments before ‘b’ 73 | std::vector b(n - 1, std::vector<int>(m - 1)); | ^ answer.code:76:25: error: ‘b’ was not declared in this scope 76 | std::cin >> b[i][j]; | ^ answer.code:80:17: error: missing template arguments before ‘a’ 80 | std::vector a(n, std::vector<i64>(m)); | ^ answer.code:83:13: error: ‘a’ was not declared in this scope 83 | a[i][j] = b[i - 1][j - 1] - a[i - 1][j - 1] - a[i - 1][j] - a[i][j - 1]; | ^ answer.code:83:23: error: ‘b’ was not declared in this scope 83 | a[i][j] = b[i - 1][j - 1] - a[i - 1][j - 1] - a[i - 1][j] - a[i][j - 1]; | ^ answer.code:91:27: error: ‘a’ was not declared in this scope 91 | spfa.add(-a[i][j], i, n + j, 1000000 - a[i][j]); | ^ answer.code:93:27: error: ‘a’ was not declared in this scope 93 | spfa.add(-a[i][j], n + j, i, 1000000 - a[i][j]); | ^ answer.code:106:17: error: ‘a’ was not declared in this scope 106 | a[i][j] += spfa.dis[i] - spfa.dis[n + j]; | ^ answer.code:108:17: error: ‘a’ was not declared in this scope 108 | a[i][j] -= spfa.dis[i] - spfa.dis[n + j]; | ^ answer.code:116:26: error: ‘a’ was not declared in this scope 116 | std::cout << a[i][j] << " "; | ^