Problem arrayngement
User VeryJerryBerry
Submission Time 2026-06-26 13:41:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayngement.cpp: In function ‘int main()’:
arrayngement.cpp:15:20: error: ‘n’ was not declared in this scope
15 | cout << x[0]+x[n-1]<<endl;
| ^