0_0_17462547_6013.cpp:6:46: error: expected initializer before 'tot'
int n,a[N],b[N],c[N<<1],A[N<<1],B[N<<1],st[N]tot,cnt,len,casename=1;
^
0_0_17462547_6013.cpp: In function 'void add(long long int*, long long int, long long int)':
0_0_17462547_6013.cpp:16:11: error: 'len' was not declared in this scope
while(p<=len){
^
0_0_17462547_6013.cpp: In function 'int main()':
0_0_17462547_6013.cpp:24:19: error: 'casename' was not declared in this scope
cout<<"Case #"<<casename++<<":"<<endl;
^
0_0_17462547_6013.cpp:25:3: error: 'tot' was not declared in this scope
tot=cnt=0;
^
0_0_17462547_6013.cpp:25:7: error: 'cnt' was not declared in this scope
tot=cnt=0;
^
0_0_17462547_6013.cpp:34:5: error: 'st' was not declared in this scope
st[cnt]=b[i];
^
0_0_17462547_6013.cpp:38:3: error: 'len' was not declared in this scope
len=unique(c+1,c+1+tot)-c-1;
^
0_0_17462547_6013.cpp:50:35: error: 'st' was not declared in this scope
int x=lower_bound(c+1,c+1+len,st[b[i]])-c;
^
|