Problem arrayngement
User GODSLAYER
Submission Time 2026-06-26 15:37:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:33:13: error: ‘l’ was not declared in this scope
33 | l++;
| ^
arrayngement.cpp:39:25: error: ‘N’ was not declared in this scope
39 | for (int i = 1; i < N - 1; i++) {
| ^
arrayngement.cpp:41:13: error: ‘mx’ was not declared in this scope; did you mean ‘m’?
41 | mx = z[i] + z[i + 1];
| ^~
| m