Problem reverse
User Shauryaw
Submission Time 2025-06-18 09:28:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverse.cpp: In function β€˜int main()’:
reverse.cpp:13:19: error: invalid types β€˜<unresolved overloaded function type>[__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}]’ for array subscript
13 | A.push_back[A[i]]
| ^