0_0_22404397_2277.cpp: In function 'void push_up(int)':
0_0_22404397_2277.cpp:3:5: error: 's' was not declared in this scope
s[k].sum = s[k<<1].sum + s[k<<1|1].sum;
^
0_0_22404397_2277.cpp: In function 'void build(int, int, int)':
0_0_22404397_2277.cpp:7:5: error: 's' was not declared in this scope
s[k].l = l, s[k].r = r;
^
0_0_22404397_2277.cpp: In function 'void update(int, int, int)':
0_0_22404397_2277.cpp:20:8: error: 's' was not declared in this scope
if(s[k].l == s[k].r)
^
0_0_22404397_2277.cpp:25:16: error: 's' was not declared in this scope
int mid = (s[k].l + s[k].r) >> 1;
^
0_0_22404397_2277.cpp: At global scope:
0_0_22404397_2277.cpp:30:1: error: 'll' does not name a type
ll query(int l, int r, int k)
^
0_0_22404397_2277.cpp:42:1: error: 'll' does not name a type
ll Query(int v, int u)
^
|