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

Compile Error

lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:17:3: error: ‘X’ was not declared in this scope
17 | X[i + 1] = prev;
| ^