QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#638102#7717. Bitsetsucup-team1882#Compile Error//C++144.2kb2024-10-13 14:54:482024-10-13 14:54:51

详细

answer.code:61:1: error: ‘ll’ does not name a type
   61 | ll ans[5010][5010],lg[1000010],n,m;
      | ^~
answer.code: In function ‘int query(int, int)’:
answer.code:65:11: error: ‘lg’ was not declared in this scope; did you mean ‘l’?
   65 |     int y=lg[r-l+1];
      |           ^~
      |           l
answer.code: In function ‘int main()’:
answer.code:83:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
   83 |     n=qr,m=qr;
      |     ^
      |     yn
answer.code:83:10: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
   83 |     n=qr,m=qr;
      |          ^
      |          tm
answer.code:84:5: error: ‘lg’ was not declared in this scope; did you mean ‘log’?
   84 |     lg[1]=0;
      |     ^~
      |     log
answer.code:119:17: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
  119 |                 ans[l][r]=count(now1)+count(now2);
      |                 ^~~
      |                 abs
answer.code:124:9: error: ‘ll’ was not declared in this scope
  124 |         ll x=qr,y=qr,z=qr,sum=0;
      |         ^~
answer.code:128:19: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
  128 |             int q=ans[l][r];
      |                   ^~~
      |                   abs
answer.code:129:23: error: ‘x’ was not declared in this scope
  129 |             int a=(ai*x+q*y+z)%n+1;
      |                       ^
answer.code:129:27: error: ‘y’ was not declared in this scope
  129 |             int a=(ai*x+q*y+z)%n+1;
      |                           ^
answer.code:129:29: error: ‘z’ was not declared in this scope
  129 |             int a=(ai*x+q*y+z)%n+1;
      |                             ^
answer.code:132:13: error: ‘sum’ was not declared in this scope
  132 |             sum+=q;
      |             ^~~
answer.code:134:15: error: ‘sum’ was not declared in this scope
  134 |         cout<<sum;
      |               ^~~
answer.code:160:5: error: ‘ll’ was not declared in this scope
  160 |     ll x=qr,y=qr,z=qr,sum=0;
      |     ^~
answer.code:168:19: error: ‘x’ was not declared in this scope
  168 |         int a=(ai*x+q*y+z)%n+1;
      |                   ^
answer.code:168:23: error: ‘y’ was not declared in this scope
  168 |         int a=(ai*x+q*y+z)%n+1;
      |                       ^
answer.code:168:25: error: ‘z’ was not declared in this scope
  168 |         int a=(ai*x+q*y+z)%n+1;
      |                         ^
answer.code:171:9: error: ‘sum’ was not declared in this scope
  171 |         sum+=q;
      |         ^~~
answer.code:173:11: error: ‘sum’ was not declared in this scope
  173 |     cout<<sum;
      |           ^~~