Problem lampposts
User Duk168
Submission Time 2024-07-09 09:30:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘void find_lampposts(int, int, int*)’:
lampposts.cpp:9:21: error: expected ‘;’ before ‘<’ token
9 | for(int i = 1, i < n, i++) {
| ^~
| ;
lampposts.cpp:9:22: error: expected primary-expression before ‘<’ token
9 | for(int i = 1, i < n, i++) {
| ^
lampposts.cpp:9:30: error: expected ‘;’ before ‘)’ token
9 | for(int i = 1, i < n, i++) {
| ^
| ;