Problem segmenttree
User penguin133
Submission Time 2023-11-20 13:57:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

segmenttree.cpp: In function ‘int main()’:
segmenttree.cpp:36:19: error: ‘struct node’ has no member named ‘upd’
36 | if(a == 1)root->upd(b, c);
| ^~~
segmenttree.cpp:37:22: error: ‘struct node’ has no member named ‘qry’; did you mean ‘query’?
37 | else cout << root->qry(b, c) << '\n';
| ^~~
| query