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

Compile Error

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