0_0_38695905_18544.cpp: In function 'void build(int, int, int)':
0_0_38695905_18544.cpp:15:9: error: 'tr' was not declared in this scope; did you mean 'r'?
15 | tr[p].l = l, tr[p].r = r;
| ^~
| r
0_0_38695905_18544.cpp: In function 'void change(int, int)':
0_0_38695905_18544.cpp:26:12: error: 'tr' was not declared in this scope; did you mean 'tm'?
26 | if(tr[p].l == tr[p].r) {
| ^~
| tm
0_0_38695905_18544.cpp:30:20: error: 'tr' was not declared in this scope; did you mean 'tm'?
30 | int mid = (tr[p].l + tr[p].r) / 2;
| ^~
| tm
0_0_38695905_18544.cpp: In function 'int query(int, int, int)':
0_0_38695905_18544.cpp:36:17: error: 'tr' was not declared in this scope; did you mean 'r'?
36 | if(l <= tr[p].l && r >= tr[p].r) {
| ^~
| r
0_0_38695905_18544.cpp:39:20: error: 'tr' was not declared in this scope; did you mean 'r'?
39 | int mid = (tr[p].l + tr[p].r) / 2;
| ^~
| r
|