QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#100227 | #5828. 游戏 | alch07 | Compile Error | / | / | C++14 | 2.1kb | 2023-04-25 03:36:24 | 2023-04-25 03:36:28 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:14:1: error: ‘vector’ does not name a type 14 | vector <int> edgs [maxn]; | ^~~~~~ answer.code: In function ‘void dfs(int, int)’: answer.code:21:24: error: ‘edgs’ was not declared in this scope 21 | for(int i = 0; i < edgs[x].size(); i++){ | ^~~~ answer.code:26:24: error: ‘edgs’ was not declared in this scope 26 | for(int i = 0; i < edgs[x].size(); i++){ | ^~~~ answer.code: In function ‘void dfs2(int, int)’: answer.code:41:24: error: ‘edgs’ was not declared in this scope 41 | for(int i = 0; i < edgs[x].size(); i++){ | ^~~~ answer.code:54:5: error: ‘assert’ was not declared in this scope 54 | assert(mxv == dpath[x][0]); | ^~~~~~ answer.code:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’? 1 | #include <iostream> +++ |+#include <cassert> 2 | answer.code:55:13: error: incompatible types in assignment of ‘int’ to ‘int [200500]’ 55 | secDeep = smv; | ~~~~~~~~^~~~~ answer.code:56:24: error: ‘edgs’ was not declared in this scope 56 | for(int i = 0; i < edgs[x].size(); i++){ | ^~~~ answer.code:73:24: error: ‘edgs’ was not declared in this scope 73 | for(int i = 0; i < edgs[x].size(); i++){ | ^~~~ answer.code: In function ‘int main()’: answer.code:89:17: error: ‘m’ was not declared in this scope 89 | cin >> n >> m; | ^