QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#219630#6550. Elimination RaceQiulyCompile Error//C++141.7kb2023-10-19 16:52:522023-10-19 16:52:53

詳細信息

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();
      |                                          ^