Problem collectmushrooms
User bribritt
Submission Time 2023-03-16 18:37:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms.cpp: In function ‘int main()’:
collectmushrooms.cpp:61:36: error: ‘x’ was not declared in this scope
61 | D[X] = Y; root->update(x, y);
| ^
collectmushrooms.cpp:61:39: error: ‘y’ was not declared in this scope
61 | D[X] = Y; root->update(x, y);
| ^