Problem reverse
User PerihelionfromAphelion
Submission Time 2026-05-21 18:41:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverse.cpp: In function ‘int main()’:
reverse.cpp:10:10: error: ‘a’ was not declared in this scope
10 | cin >> a[i];
| ^
reverse.cpp:12:10: error: ‘a’ was not declared in this scope
12 | reverse(a, a + n);
| ^