QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#477377#3098. Ancient MachineJasonweiCompile Error//C++142.9kb2024-07-14 02:33:332024-07-14 02:33:35

详细

Anna.code:22:1: error: ‘ll’ does not name a type
   22 | ll fib[64];
      | ^~
Anna.code: In function ‘void init()’:
Anna.code:24:2: error: ‘fib’ was not declared in this scope
   24 |  fib[0] = 1, fib[1] = 2;
      |  ^~~
Anna.code: At global scope:
Anna.code:27:1: error: ‘ll’ does not name a type
   27 | ll upd (const vector<int> &a, int l, int r) {
      | ^~
Anna.code:33:1: error: expected declaration before ‘}’ token
   33 | }
      | ^
Anna.code: In function ‘void Anna(long long int, std::vector<char>)’:
Anna.code:46:3: error: ‘ll’ was not declared in this scope
   46 |   ll cur = upd (res, i, i + 62);
      |   ^~
Anna.code:47:26: error: ‘cur’ was not declared in this scope
   47 |   de (i, 43, 0, 1) Send (cur >> j & 1);
      |                          ^~~
Anna.code:47:33: error: ‘j’ was not declared in this scope
   47 |   de (i, 43, 0, 1) Send (cur >> j & 1);
      |                                 ^
Anna.code:47:20: error: ‘Send’ was not declared in this scope
   47 |   de (i, 43, 0, 1) Send (cur >> j & 1);
      |                    ^~~~