Problem lampposts
User zyh255
Submission Time 2022-12-27 09:24:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lampposts.cpp: In function ‘void find_lampposts(long long int, long long int, long long int*)’:
lampposts.cpp:12:21: error: ‘X’ was not declared in this scope
12 | if (i % 2 == 0) X[1] = i * 2 - 1;
| ^