Problem candyshop
User Josh28acc2
Submission Time 2024-01-01 20:16:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candyshop.cpp: In function ‘ll solve()’:
candyshop.cpp:173:5: error: ‘root’ was not declared in this scope
173 | root = new node(0, n+10);
| ^~~~