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

Compile Error

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