QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#93550#5531. ICCdong_liuCompile Error//C++172.1kb2023-04-01 13:51:162024-07-01 04:28:17

详细

answer.code: In function ‘void run(int)’:
answer.code:6:16: error: ‘N’ was not declared in this scope
    6 |   static int c[N];
      |                ^
answer.code:8:23: error: ‘c’ was not declared in this scope
    8 |   for(int i=0;i<n;i++)c[i]=i,v[i].push_back(i);
      |                       ^
answer.code:8:30: error: ‘v’ was not declared in this scope
    8 |   for(int i=0;i<n;i++)c[i]=i,v[i].push_back(i);
      |                              ^
answer.code:13:10: error: ‘c’ was not declared in this scope
   13 |       if(c[j]==j)
      |          ^
answer.code:14:9: error: ‘u’ was not declared in this scope
   14 |         u[k++]=j;
      |         ^
answer.code:21:34: error: ‘v’ was not declared in this scope
   21 |         if((i>>b&1)==0)for(int j:v[u[i]])o[z++]=j+1;
      |                                  ^
answer.code:21:36: error: ‘u’ was not declared in this scope
   21 |         if((i>>b&1)==0)for(int j:v[u[i]])o[z++]=j+1;
      |                                    ^
answer.code:21:42: error: ‘o’ was not declared in this scope
   21 |         if((i>>b&1)==0)for(int j:v[u[i]])o[z++]=j+1;
      |                                          ^
answer.code:24:34: error: ‘v’ was not declared in this scope
   24 |         if((i>>b&1)==1)for(int j:v[u[i]])o[z++]=j+1;
      |                                  ^
answer.code:24:36: error: ‘u’ was not declared in this scope
   24 |         if((i>>b&1)==1)for(int j:v[u[i]])o[z++]=j+1;
      |                                    ^
answer.code:24:42: error: ‘o’ was not declared in this scope
   24 |         if((i>>b&1)==1)for(int j:v[u[i]])o[z++]=j+1;
      |                                          ^
answer.code:25:22: error: ‘o’ was not declared in this scope
   25 |       if(query(t,n-t,o,o+t))xr|=1<<b;
      |                      ^
answer.code:37:46: error: ‘v’ was not declared in this scope
   37 |           if((i&a0)==0&&(i&a1)==a1)for(int j:v[u[i]])o[z++]=j+1;
      |                                              ^
answer.code:37:48: error: ‘u’ was not declared in this scope
   37 |           if((i&a0)==0&&(i&a1)==a1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                ^
answer.code:37:54: error: ‘o’ was not declared in this scope
   37 |           if((i&a0)==0&&(i&a1)==a1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                      ^
answer.code:40:46: error: ‘v’ was not declared in this scope
   40 |           if((i&b0)==0&&(i&b1)==b1)for(int j:v[u[i]])o[z++]=j+1;
      |                                              ^
answer.code:40:48: error: ‘u’ was not declared in this scope
   40 |           if((i&b0)==0&&(i&b1)==b1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                ^
answer.code:40:54: error: ‘o’ was not declared in this scope
   40 |           if((i&b0)==0&&(i&b1)==b1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                      ^
answer.code:42:24: error: ‘o’ was not declared in this scope
   42 |         if(query(t,z-t,o,o+t))a0^=1<<b,b1^=1<<b;
      |                        ^
answer.code:48:46: error: ‘v’ was not declared in this scope
   48 |           if((i&a0)==0&&(i&a1)==a1)for(int j:v[u[i]])o[z++]=j+1;
      |                                              ^
answer.code:48:48: error: ‘u’ was not declared in this scope
   48 |           if((i&a0)==0&&(i&a1)==a1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                ^
answer.code:48:54: error: ‘o’ was not declared in this scope
   48 |           if((i&a0)==0&&(i&a1)==a1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                      ^
answer.code:51:46: error: ‘v’ was not declared in this scope
   51 |           if((i&b0)==0&&(i&b1)==b1)for(int j:v[u[i]])o[z++]=j+1;
      |                                              ^
answer.code:51:48: error: ‘u’ was not declared in this scope
   51 |           if((i&b0)==0&&(i&b1)==b1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                ^
answer.code:51:54: error: ‘o’ was not declared in this scope
   51 |           if((i&b0)==0&&(i&b1)==b1)for(int j:v[u[i]])o[z++]=j+1;
      |                                                      ^
answer.code:53:24: error: ‘o’ was not declared in this scope
   53 |         if(query(t,z-t,o,o+t))a0^=1<<b,b0^=1<<b;
      |                        ^
answer.code:58:15: error: ‘v’ was not declared in this scope
   58 |     for(int j:v[u[a1]])o[z++]=j+1;
      |               ^
answer.code:58:17: error: ‘u’ was not declared in this scope
   58 |     for(int j:v[u[a1]])o[z++]=j+1;
      |                 ^
answer.code:58:24: error: ‘o’ was not declared in this scope
   58 |     for(int j:v[u[a1]])o[z++]=j+1;
      |                        ^
answer.code:60:15: error: ‘v’ was not declared in this scope
   60 |     for(int j:v[u[b1]])o[z++]=j+1;
      |               ^
answer.code:60:17: error: ‘u’ was not declared in th...