0_0_16486891_28583.cpp:45:17: error: redefinition of 'int Qv'
int Ql,Qr,Qv,Qx,Qv;
^
0_0_16486891_28583.cpp:45:11: note: 'int Qv' previously declared here
int Ql,Qr,Qv,Qx,Qv;
^
0_0_16486891_28583.cpp: In member function 'void Seg1::Modify(int, int, int)':
0_0_16486891_28583.cpp:79:11: error: 'Mid' was not declared in this scope
if (Ql<=Mid) Modify(Lsn,L,Mid);
^
0_0_16486891_28583.cpp:80:10: error: 'Mid' was not declared in this scope
if (Qr>Mid) Modify(Rsn,Mid+1,R);
^
0_0_16486891_28583.cpp: In member function 'int Seg1::Query(int, int, int)':
0_0_16486891_28583.cpp:85:14: error: 'Mid' was not declared in this scope
return Qx<=Mid?Query(Lsn,L,Mid):Query(Rsn,Mid+1,R);
^
0_0_16486891_28583.cpp: In member function 'void Seg2::Modify(int, int, int)':
0_0_16486891_28583.cpp:99:7: error: 'Mid' was not declared in this scope
Qx<=Mid?Modify(Lsn,L,Mid):Modify(Rsn,Mid+1,R);
^
0_0_16486891_28583.cpp: In member function 'int Seg2::Query(int, int, int)':
0_0_16486891_28583.cpp:104:11: error: 'Mid' was not declared in this scope
if (Ql<=Mid){
^
0_0_16486891_28583.cpp:108:10: error: 'Mid' was not declared in this scope
if (Qr>Mid) return Query(Rsn,Mid+1,R);
^
0_0_16486891_28583.cpp: In function 'void Erase(int)':
0_0_16486891_28583.cpp:168:6: error: 'ID' was not declared in this scope
Add(ID[x],-1);
^
|