Problem smurf
User Harshithdagot
Submission Time 2026-07-08 16:58:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurf.cpp: In function ‘int main()’:
smurf.cpp:13:8: error: ‘class std::vector<int>’ has no member named ‘push_front’
13 | arr.push_front(v)
| ^~~~~~~~~~
smurf.cpp:13:19: error: ‘v’ was not declared in this scope
13 | arr.push_front(v)
| ^
smurf.cpp:16:13: error: ‘v’ was not declared in this scope
16 | arr.back(v)
| ^
smurf.cpp:22:13: error: ‘class std::vector<int>’ has no member named ‘pop_front’
22 | arr.pop_front();
| ^~~~~~~~~