QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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}); | ^~~~~~~~~