Problem | gfriendmania |
---|---|
User | ZhongDing |
Submission Time | 2023-12-11 09:53:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gfriendmania.cpp: In function ‘void updateRangeUtil(int, int, int, int, int, int)’:
gfriendmania.cpp:30:9: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
30 | tree[si] += (se-ss+1)*lazy[si];
| ^~~~
| free
gfriendmania.cpp:57:9: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
57 | tree[si] += (se-ss+1)*diff;
| ^~~~
| free
gfriendmania.cpp:80:5: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
80 | tree[si] = tree[si*2+1] + tree[si*2+2];
| ^~~~
| free
gfriendmania.cpp: In function ‘int getSumUtil(int, int, int, int, int)’:
gfriendmania.cpp:116:9: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
116 | tree[si] += (se-ss+1)*lazy[si];
| ^~~~
| free
gfriendmania.cpp:143:16: error: ‘tree’ was not declared in this scope; did y