0_0_23194550_24541.cpp:272:1: error: stray '\247' in program
?????????????§µ????????????????????
^
0_0_23194550_24541.cpp:272:1: error: stray '\265' in program
0_0_23194550_24541.cpp:276:1: error: stray '\202' in program
?????pos???????????????‚k??????0????????0?????????????????
^
0_0_23194550_24541.cpp:149:10: error: redefinition of 'int sum [200010]'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:16:5: note: 'int sum [200010]' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:149:19: error: redefinition of 'int stk [50002]'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:16:12: note: 'int stk [50002]' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:149:21: error: redefinition of 'int pos'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:16:21: note: 'int pos' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:149:25: error: redefinition of 'int d'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:16:25: note: 'int d' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:149:27: error: redefinition of 'int c'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:16:27: note: 'int c' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp: In function 'void pushup(int)':
0_0_23194550_24541.cpp:151:7: error: redefinition of 'void pushup(int)'
void pushup(int rt){
^
0_0_23194550_24541.cpp:18:7: note: 'void pushup(int)' previously defined here
void pushup(int rt){
^
0_0_23194550_24541.cpp: In function 'void update(int, int, int)':
0_0_23194550_24541.cpp:157:7: error: redefinition of 'void update(int, int, int)'
void update(canshu){
^
0_0_23194550_24541.cpp:24:7: note: 'void update(int, int, int)' previously defined here
void update(canshu){
^
0_0_23194550_24541.cpp: In function 'void que(int, int, int)':
0_0_23194550_24541.cpp:177:7: error: redefinition of 'void que(int, int, int)'
void que(canshu){
^
0_0_23194550_24541.cpp:44:7: note: 'void que(int, int, int)' previously defined here
void que(canshu){
^
0_0_23194550_24541.cpp: In function 'int quesum(int, int, int)':
0_0_23194550_24541.cpp:195:5: error: redefinition of 'int quesum(int, int, int)'
int quesum(canshu){
^
0_0_23194550_24541.cpp:62:5: note: 'int quesum(int, int, int)' previously defined here
int quesum(canshu){
^
0_0_23194550_24541.cpp: In function 'int main()':
0_0_23194550_24541.cpp:209:5: error: redefinition of 'int main()'
int main(){
^
0_0_23194550_24541.cpp:76:5: note: 'int main()' previously defined here
int main(){
^
0_0_23194550_24541.cpp: At global scope:
0_0_23194550_24541.cpp:268:1: error: expected unqualified-id before '?' token
????????????????????????????????????????
^
0_0_23194550_24541.cpp: In function 'void tset(int, int)':
0_0_23194550_24541.cpp:323:13: error: 'lv' was not declared in this scope
sum[rt]=lv[rt]=rv[rt]=s;
^
0_0_23194550_24541.cpp:323:20: error: 'rv' was not declared in this scope
sum[rt]=lv[rt]=rv[rt]=s;
^
0_0_23194550_24541.cpp: In function 'void pushup(int, int, int)':
0_0_23194550_24541.cpp:355:5: error: 'lv' was not declared in this scope
lv[rt]=lv[ls]+(sum[ls]==mid-l+1?lv[rs]:0);
^
0_0_23194550_24541.cpp:357:5: error: 'rv' was not declared in this scope
rv[rt]=rv[rs]+(sum[rs]==r-mid?rv[ls]:0);
^
0_0_23194550_24541.cpp: At global scope:
0_0_23194550_24541.cpp:363:5: error: redefinition of 'int pos'
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:16:21: note: 'int pos' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:363:9: error: redefinition of 'int c'
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:16:27: note: 'int c' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp: In function 'void update(int, int, int)':
0_0_23194550_24541.cpp:365:7: error: redefinition of 'void update(int, int, int)'
void update(canshu){
^
0_0_23194550_24541.cpp:24:7: note: 'void update(int, int, int)' previously defined here
void update(canshu){
^
0_0_23194550_24541.cpp: In function 'void quer(int, int, int)':
0_0_23194550_24541.cpp:397:18: error: 'lv' was not declared in this scope
else as+=lv[rt],flag=0;
^
0_0_23194550_24541.cpp: In function 'void quel(int, int, int)':
0_0_23194550_24541.cpp:419:18: error: 'rv' was not declared in this scope
else as+=rv[rt],flag=0;
^
0_0_23194550_24541.cpp: At global scope:
0_0_23194550_24541.cpp:433:10: error: conflicting declaration 'int stk [200010]'
int stk[X],top;
^
0_0_23194550_24541.cpp:16:12: note: previous declaration as 'int stk [50002]'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp: In function 'int main()':
0_0_23194550_24541.cpp:435:5: error: redefinition of 'int main()'
int main(){
^
0_0_23194550_24541.cpp:76:5: note: 'int main()' previously defined here
int main(){
^
0_0_23194550_24541.cpp: At global scope:
0_0_23194550_24541.cpp:504:10: error: redefinition of 'int sum [200010]'
int sum[X],lv[X],rv[X];
^
0_0_23194550_24541.cpp:16:5: note: 'int sum [200010]' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp: In function 'void tset(int, int)':
0_0_23194550_24541.cpp:506:7: error: redefinition of 'void tset(int, int)'
void tset(int rt,int s){
^
0_0_23194550_24541.cpp:321:7: note: 'void tset(int, int)' previously defined here
void tset(int rt,int s){
^
0_0_23194550_24541.cpp: In function 'void build(int, int, int)':
0_0_23194550_24541.cpp:512:7: error: redefinition of 'void build(int, int, int)'
void build(canshu){
^
0_0_23194550_24541.cpp:327:7: note: 'void build(int, int, int)' previously defined here
void build(canshu){
^
0_0_23194550_24541.cpp: In function 'int max(int, int, int)':
0_0_23194550_24541.cpp:526:5: error: redefinition of 'int max(int, int, int)'
int max(canshu){
^
0_0_23194550_24541.cpp:341:5: note: 'int max(int, int, int)' previously defined here
int max(canshu){
^
0_0_23194550_24541.cpp: In function 'void pushup(int, int, int)':
0_0_23194550_24541.cpp:536:7: error: redefinition of 'void pushup(int, int, int)'
void pushup(canshu){
^
0_0_23194550_24541.cpp:351:7: note: 'void pushup(int, int, int)' previously defined here
void pushup(canshu){
^
0_0_23194550_24541.cpp: At global scope:
0_0_23194550_24541.cpp:548:5: error: redefinition of 'int pos'
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:16:21: note: 'int pos' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:548:9: error: redefinition of 'int c'
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:16:27: note: 'int c' previously declared here
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:548:11: error: redefinition of 'int flag'
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:363:11: note: 'int flag' previously declared here
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:548:16: error: redefinition of 'int as'
int pos,c,flag,as;
^
0_0_23194550_24541.cpp:363:16: note: 'int as' previously declared here
int pos,c,flag,as;
^
0_0_23194550_24541.cpp: In function 'void update(int, int, int)':
0_0_23194550_24541.cpp:550:7: error: redefinition of 'void update(int, int, int)'
void update(canshu){
^
0_0_23194550_24541.cpp:24:7: note: 'void update(int, int, int)' previously defined here
void update(canshu){
^
0_0_23194550_24541.cpp: In function 'void quer(int, int, int)':
0_0_23194550_24541.cpp:574:7: error: redefinition of 'void quer(int, int, int)'
void quer(canshu){
^
0_0_23194550_24541.cpp:389:7: note: 'void quer(int, int, int)' previously defined here
void quer(canshu){
^
0_0_23194550_24541.cpp: In function 'void quel(int, int, int)':
0_0_23194550_24541.cpp:596:7: error: redefinition of 'void quel(int, int, int)'
void quel(canshu){
^
0_0_23194550_24541.cpp:411:7: note: 'void quel(int, int, int)' previously defined here
void quel(canshu){
^
0_0_23194550_24541.cpp: At global scope:
0_0_23194550_24541.cpp:618:10: error: conflicting declaration 'int stk [200010]'
int stk[X],top;
^
0_0_23194550_24541.cpp:16:12: note: previous declaration as 'int stk [50002]'
int sum[X],stk[X/4],pos,d,c;
^
0_0_23194550_24541.cpp:618:12: error: redefinition of 'int top'
int stk[X],top;
^
0_0_23194550_24541.cpp:433:12: note: 'int top' previously declared here
int stk[X],top;
^
0_0_23194550_24541.cpp: In function 'int main()':
0_0_23194550_24541.cpp:620:5: error: redefinition of 'int main()'
int main(){
^
0_0_23194550_24541.cpp:76:5: note: 'int main()' previously defined here
int main(){
|