apple.cpp: In function 'void pushdown(int)':
apple.cpp:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
13 | if (!tree[x].lazy) return ; tree[x].lazy = 0;
| ^~
apple.cpp:13:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
13 | if (!tree[x].lazy) return ; tree[x].lazy = 0;
| ^~~~
apple.cpp: In function 'void update(int, int, int)':
apple.cpp:21:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if (mid >= l) update(tree[x].l, l, r); if (mid < r) update(tree[x].r, l, r);
| ^~
apple.cpp:21:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
21 | if (mid >= l) update(tree[x].l, l, r); if (mid < r) update(tree[x].r, l, r);
| ^~
apple.cpp: In function 'int query(int, int, int)':
apple.cpp:26:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
26 | if (l <= tree[x].tl && tree[x].tr <= r) return tree[x].sum; pushdown(x);
| ^~
apple.cpp:26:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
26 | if (l <= tree[x].tl && tree[x].tr <= r) return tree[x].sum; pushdown(x);
| ^~~~~~~~