Problem lampposts
User PlayVoltz
Submission Time 2023-10-14 22:02:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:6:8: error: ‘nearest_lamppost’ was not declared in this scope
6 | if (nearest_lamppost(mid)<i)low=mid;
| ^~~~~~~~~~~~~~~~