QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#303284 | #5102. Dungeon Crawler | ucup-team874# | Compile Error | / | / | C++17 | 2.1kb | 2024-01-12 03:23:51 | 2024-01-12 03:23:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:20:10: error: ‘Node’ was not declared in this scope 20 | vector<Node> arr(n); | ^~~~ answer.code:20:14: error: template argument 1 is invalid 20 | vector<Node> arr(n); | ^ answer.code:20:14: error: template argument 2 is invalid answer.code: In lambda function: answer.code:42:23: error: invalid types ‘int[long long int]’ for array subscript 42 | for(auto&& e:arr[u].adj){ | ^ answer.code:45:29: error: ‘w’ was not declared in this scope 45 | wdep[v] = wdep[u] + w; | ^ answer.code: In function ‘int main()’: answer.code:61:13: error: invalid types ‘int[long long int]’ for array subscript 61 | if(arr[i].wdep > mx and arr[i].hask and arr[i].hast){ | ^ answer.code:61:34: error: invalid types ‘int[long long int]’ for array subscript 61 | if(arr[i].wdep > mx and arr[i].hask and arr[i].hast){ | ^ answer.code:61:50: error: invalid types ‘int[long long int]’ for array subscript 61 | if(arr[i].wdep > mx and arr[i].hask and arr[i].hast){ | ^ answer.code:62:17: error: invalid types ‘int[long long int]’ for array subscript 62 | mx = arr[i].wdep; | ^ answer.code: In lambda function: answer.code:80:23: error: invalid types ‘int[long long int]’ for array subscript 80 | for(auto&& e:arr[u].adj){ | ^ answer.code:84:20: error: ‘w’ was not declared in this scope 84 | add += 2*w; | ^ answer.code:90:20: error: ‘w’ was not declared in this scope 90 | add -= 2*w; | ^