0_0_22511032_18336.cpp:79:1: error: 'maxn' does not name a type
maxn
^
0_0_22511032_18336.cpp: In function 'int main()':
0_0_22511032_18336.cpp:138:50: error: 'update' was not declared in this scope
update(1,1,n,tree[a[j].id],a[j].x);
^
0_0_22511032_18336.cpp:147:54: error: 'update' was not declared in this scope
update(1, 1, n, tree[a[j].id], a[j].x);
^
0_0_22511032_18336.cpp:155:28: error: 'ansR' was not declared in this scope
printf("%lld", ansR[i]-ansL[i]);
^
0_0_22511032_18336.cpp:155:36: error: 'ansL' was not declared in this scope
printf("%lld", ansR[i]-ansL[i]);
^
|