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