QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#219630 | #6550. Elimination Race | Qiuly | Compile Error | / | / | C++14 | 1.7kb | 2023-10-19 16:52:52 | 2023-10-19 16:52:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:9:16: error: missing template arguments before ‘p’ 9 | vector p(n - 1, vector<int>(n)), q(p); | ^ answer.code:11:31: error: ‘p’ was not declared in this scope 11 | for (int &x : p[i]) { | ^ answer.code:15:25: error: ‘p’ was not declared in this scope 15 | reverse(p[i].begin(), p[i].end()); | ^ answer.code:17:25: error: ‘q’ was not declared in this scope 17 | q[i][p[i][j]] = j; | ^ answer.code:26:45: error: ‘q’ was not declared in this scope 26 | if (lnk[j] != -1 && q[lnk[j]][j] < q[lnk[j]][i]) { | ^ answer.code: In lambda function: answer.code:33:38: error: ‘p’ was not declared in this scope 33 | for (int v : p[u]) { | ^ answer.code: In function ‘int main()’: answer.code:57:42: error: ‘p’ was not declared in this scope 57 | ptr[i] = p[i].begin(); | ^