Problem pythonlist
User Roucy
Submission Time 2025-06-18 10:06:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:9:7: error: expected unqualified-id before ‘=’ token
9 | string= "Empty"
| ^
pythonlist.cpp:12:14: error: ‘Empty’ was not declared in this scope
12 | dq.pop_back(Empty);
| ^~~~~
pythonlist.cpp:13:6: error: expected primary-expression before ‘else’
13 | if (else
| ^~~~
pythonlist.cpp:15:16: error: ‘x’ was not declared in this scope
15 | dq.push_back(x);
| ^
pythonlist.cpp:15:18: error: expected ‘)’ before ‘;’ token
15 | dq.push_back(x);
| ^
| )
pythonlist.cpp:13:5: note: to match this ‘(’
13 | if (else
| ^