Problem lampposts
User Craftless
Submission Time 2022-12-27 10:27:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:5:7: error: ‘nearest_lamppost’ was not declared in this scope
5 | if (nearest_lamppost(mid) == 0) low = mid + 1;
| ^~~~~~~~~~~~~~~~