QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#747426#9432. PermutationHuluoboCompile Error//C++141.9kb2024-11-14 17:09:012024-11-14 17:09:02

詳細信息

answer.code: In function ‘void solve(int, int, std::vector<int>)’:
answer.code:37:37: error: missing template arguments before ‘b’
   37 |                         std::vector b(n, x);
      |                                     ^
answer.code:39:33: error: ‘b’ was not declared in this scope
   39 |                                 b[i] = v[0];
      |                                 ^
answer.code:41:41: error: ‘b’ was not declared in this scope
   41 |                         int res = query(b);
      |                                         ^
answer.code:65:37: error: missing template arguments before ‘b’
   65 |                         std::vector b(n, al[0]);
      |                                     ^
answer.code:67:33: error: ‘b’ was not declared in this scope
   67 |                                 b[i] = v[0];
      |                                 ^
answer.code:69:35: error: ‘b’ was not declared in this scope
   69 |                         if (query(b) == 2) {
      |                                   ^