Problem | findinggrass |
---|---|
User | TheRaptor |
Submission Time | 2022-12-28 17:29:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findinggrass.cpp: In function ‘int32_t main()’:
findinggrass.cpp:165:3: error: ‘update’ was not declared in this scope
165 | update(brr[i],1);
| ^~~~~~
findinggrass.cpp:186:11: error: ‘struct node’ has no member named ‘range_add’; did you mean ‘range_sum’?
186 | root2->range_add(brr[b],brr[b],-1);
| ^~~~~~~~~
| range_sum
findinggrass.cpp:187:11: error: ‘struct node’ has no member named ‘range_add’; did you mean ‘range_sum’?
187 | root2->range_add(c,c,1);
| ^~~~~~~~~
| range_sum