Problem | lampposts |
---|---|
User | TheRaptor |
Submission Time | 2022-12-30 10:22:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lampposts.cpp: In function ‘void find_lamppost(int, int, int*)’:
lampposts.cpp:10:20: error: ‘n’ was not declared in this scope
10 | for(int i=1; i<n; i++){
| ^
lampposts.cpp:18:10: error: ‘nearest_lamppost’ was not declared in this scope
18 | int x=nearest_lamppost(mid);
| ^~~~~~~~~~~~~~~~