Problem | segmenttree2 |
---|---|
User | fwp |
Submission Time | 2023-01-08 19:32:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp: In function ‘void update(int, int, int, int, int, long long int)’:
segmenttree2.cpp:169:54: error: ‘to_right’ was not declared in this scope
169 | segTree[node] = segTree[to_left(node)] + segTree[to_right[node]];
| ^~~~~~~~