QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#190527 | #4037. Absolute Pairwise Distance | alch07 | Compile Error | / | / | C++14 | 2.4kb | 2023-09-29 02:45:40 | 2023-09-29 02:45:40 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:31:9: error: ‘Move’ was not declared in this scope; did you mean ‘remove’? 31 | vector <Move> moves [N+1]; | ^~~~ | remove answer.code:31:13: error: template argument 1 is invalid 31 | vector <Move> moves [N+1]; | ^ answer.code:31:13: error: template argument 2 is invalid answer.code: In function ‘int main()’: answer.code:103:18: error: request for member ‘push_back’ in ‘moves[y]’, which is of non-class type ‘int’ 103 | moves[y].push_back({y, x, v[i].x, i}); | ^~~~~~~~~ answer.code:104:18: error: request for member ‘push_back’ in ‘moves[x]’, which is of non-class type ‘int’ 104 | moves[x].push_back({x, y, v[i].y, i}); | ^~~~~~~~~