Problem reverse
User AliLam
Submission Time 2025-06-18 09:53:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverse.cpp: In function ‘int main()’:
reverse.cpp:16:10: error: ‘j’ was not declared in this scope
16 | int ans[j];
| ^
reverse.cpp:18:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
18 | ans[j] = arr[N-0];
| ^~~
| abs