0_0_18130164_10904.cpp:1:15: error: 't' was not declared in this scope
int mid=(t[cur].r+t[cur].l)/2;
^
0_0_18130164_10904.cpp:1:17: error: 'cur' was not declared in this scope
int mid=(t[cur].r+t[cur].l)/2;
^
0_0_18130164_10904.cpp:1:24: error: 't' was not declared in this scope
int mid=(t[cur].r+t[cur].l)/2;
^
0_0_18130164_10904.cpp:1:26: error: 'cur' was not declared in this scope
int mid=(t[cur].r+t[cur].l)/2;
^
0_0_18130164_10904.cpp:2:9: error: 't' does not name a type
t[cur<<1].add+=t[cur].add;
^
0_0_18130164_10904.cpp:3:9: error: 't' does not name a type
t[cur<<1|1].add+=t[cur].add;
^
0_0_18130164_10904.cpp:4:9: error: 't' does not name a type
t[cur<<1].sum+=(mid-t[cur].l+1)*t[cur].add;
^
0_0_18130164_10904.cpp:5:9: error: 't' does not name a type
t[cur<<1|1].sum+=(t[cur].r-mid)*t[cur].add;
^
0_0_18130164_10904.cpp:6:5: error: expected declaration before '}' token
}
^
|