Problem lampposts
User wrizz69
Submission Time 2026-07-10 19:57:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:15:20: error: ‘nearest_lamppost’ was not declared in this scope
15 | if(nearest_lamppost(mid) == i-1) {l = mid + 1;}
| ^~~~~~~~~~~~~~~~