0_0_18212185_14531.cpp: In function 'void update(int, int, int)':
0_0_18212185_14531.cpp:52:1: error: expected ';' before '}' token
}
^
0_0_18212185_14531.cpp: In function 'int query(int, int, int)':
0_0_18212185_14531.cpp:55:24: error: 'c' was not declared in this scope
if(l <= t[rt].l && c[rt].r <= r) return t[rt].sum;
^
0_0_18212185_14531.cpp:59:40: error: 'quert' was not declared in this scope
if(l <= mid) le = quert(rt<<1, l, r);
^
0_0_18212185_14531.cpp:60:41: error: 'quert' was not declared in this scope
if(mid < r) re = quert(rt<<1|1, l, r);
^
0_0_18212185_14531.cpp: In function 'void work()':
0_0_18212185_14531.cpp:66:27: error: 'memset' was not declared in this scope
memset(t, 0, sizeof(t));
^
|