Problem pythonlist
User Nayaa2403
Submission Time 2025-06-18 09:31:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:13:8: error: ‘class std::deque<int>’ has no member named ‘push’
13 | list.push(x);
| ^~~~
pythonlist.cpp:16:19: error: lvalue required as left operand of assignment
16 | if (list.size()=0) {
| ^
pythonlist.cpp:25:1: error: expected ‘}’ at end of input
25 | }
| ^
pythonlist.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^