Problem pythonlist
User BlueSpace
Submission Time 2026-11-15 19:22:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp: In function ‘int32_t main()’:
pythonlist.cpp:25:7: error: expected ‘(’ before ‘!’ token
25 | if !(dq.empty()) {
| ^
| (
pythonlist.cpp:28:5: error: expected ‘}’ before ‘else’
28 | }else {
| ^~~~
pythonlist.cpp:24:22: note: to match this ‘{’
24 | else if (type == 2){
| ^
pythonlist.cpp: At global scope:
pythonlist.cpp:33:1: error: expected declaration before ‘}’ token
33 | }
| ^