F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_19379957_17620.cpp:6:1: error: 'vector' does not name a type
 vector<Seq> vs[N*10];
 ^
0_0_19379957_17620.cpp:7:9: error: 'N' was not declared in this scope
 int ini[N*10];
         ^
0_0_19379957_17620.cpp:8:9: error: 'N' was not declared in this scope
 int nco[N*10];
         ^
0_0_19379957_17620.cpp:32:5: error: 'N' was not declared in this scope
 }po[N*20];
     ^
0_0_19379957_17620.cpp: In function 'void build(int, int, int)':
0_0_19379957_17620.cpp:37:3: error: 'po' was not declared in this scope
   po[p].cl=po[p].cr=ini[l];
   ^
0_0_19379957_17620.cpp:37:21: error: 'ini' was not declared in this scope
   po[p].cl=po[p].cr=ini[l];
                     ^
0_0_19379957_17620.cpp:44:2: error: 'po' was not declared in this scope
  po[p].reset(&po[p<<1],&po[(p<<1)|1]);
  ^
0_0_19379957_17620.cpp: In function 'int main()':
0_0_19379957_17620.cpp:83:21: error: 'scanf' was not declared in this scope
  int T;scanf("%d",&T);
                     ^
0_0_19379957_17620.cpp:88:4: error: 'vs' was not declared in this scope
    vs[i].clear(),nco[i]=i;
    ^
0_0_19379957_17620.cpp:88:18: error: 'nco' was not declared in this scope
    vs[i].clear(),nco[i]=i;
                  ^
0_0_19379957_17620.cpp:90:16: error: 'ini' was not declared in this scope
    scanf("%d",&ini[i]);
                ^
0_0_19379957_17620.cpp:91:3: error: 'ini' was not declared in this scope
   ini[n+1]=0;
   ^
0_0_19379957_17620.cpp:100:5: error: 'vs' was not declared in this scope
     vs[ini[pos]].push_back((Seq){pos,i-1});
     ^
0_0_19379957_17620.cpp:111:22: error: 'po' was not declared in this scope
     Point res=query(&po[1],1,n,x,y);
                      ^
0_0_19379957_17620.cpp:112:26: error: 'printf' was not declared in this scope
     printf("%d\n",res.cnt);
                          ^
0_0_19379957_17620.cpp:116:8: error: 'vs' was not declared in this scope
     if(vs[nco[x]].size()>vs[nco[y]].size())
        ^
0_0_19379957_17620.cpp:116:11: error: 'nco' was not declared in this scope
     if(vs[nco[x]].size()>vs[nco[y]].size())
           ^
0_0_19379957_17620.cpp:117:24: error: 'swap' was not declared in this scope
      swap(nco[x],nco[y]);
                        ^
0_0_19379957_17620.cpp:118:7: error: 'nco' was not declared in this scope
     x=nco[x];y=nco[y];
       ^
0_0_19379957_17620.cpp:119:9: error: 'vit' was not declared in this scope
     for(vit it=vs[x].begin();it!=vs[x].end();it++)
         ^
0_0_19379957_17620.cpp:119:30: error: 'it' was not declared in this scope
     for(vit it=vs[x].begin();it!=vs[x].end();it++)
                              ^
0_0_19379957_17620.cpp:119:34: error: 'vs' was not declared in this scope
     for(vit it=vs[x].begin();it!=vs[x].end();it++)
                                  ^
0_0_19379957_17620.cpp:121:13: error: 'po' was not declared in this scope
      merge(&po[1],1,n,it->l,it->r,y);
             ^
0_0_19379957_17620.cpp:124:5: error: 'vs' was not declared in this scope
     vs[x].clear();
     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-27 18:40:46, Gzip enabled