Problem | candyshop |
---|---|
User | Josh28acc2 |
Submission Time | 2024-01-01 20:16:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
candyshop.cpp: In function ‘ll solve()’:
candyshop.cpp:189:15: error: ‘struct node’ has no member named ‘pu’
189 | root->pu(preorder[q], q);
| ^~
candyshop.cpp:194:29: error: ‘struct node’ has no member named ‘rq’; did you mean ‘r’?
194 | ll queryAns = root->rq(preorder[queries[q]], postorder[queries[q]]);
| ^~
| r
candyshop.cpp:200:15: error: ‘struct node’ has no member named ‘pu’
200 | root->pu(preorder[queryAns], -INT_MAX);
| ^~