Problem lampposts
User haydendoo
Submission Time 2023-01-03 09:29:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘int find_lamp(int)’:
lampposts.cpp:8:22: error: ‘nearest_lamppost’ was not declared in this scope
8 | return memo[x] = nearest_lamppost(x);
| ^~~~~~~~~~~~~~~~