| Problem | collectmushrooms |
|---|---|
| User | itsLQ |
| Submission Time | 2023-12-27 15:44:06 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
collectmushrooms.cpp: In function ‘int main()’:
collectmushrooms.cpp:58:30: error: ‘struct node’ has no member named ‘max’
58 | else cout << root -> max(0, query(A, B)) << endl;
| ^~~
collectmushrooms.cpp:58:37: error: ‘query’ was not declared in this scope
58 | else cout << root -> max(0, query(A, B)) << endl;
| ^~~~~