Problem | lampposts |
---|---|
User | shoryu386 |
Submission Time | 2022-12-26 19:18:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lampposts.cpp: In function ‘int find_bp(int)’:
lampposts.cpp:6:19: error: ‘L’ was not declared in this scope
6 | int lo = 0, hi = L;
| ^
lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:38:22: error: ‘n’ was not declared in this scope
38 | for (int x = 1; x < n; x++){
| ^