Problem lampposts
User Gladius3482
Submission Time 2022-12-27 10:18:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:7:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
7 | if(nearest_lamppost==1){
| ^