Problem reverse
User akyy1713
Submission Time 2025-06-19 07:04:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverse.cpp: In function ‘int main()’:
reverse.cpp:7:10: error: ‘n’ was not declared in this scope
7 | int arr[n];
| ^
reverse.cpp:9:11: error: ‘arr’ was not declared in this scope
9 | cout << arr[i] << " ";
| ^~~