Problem pythonlist
User pkdagoat
Submission Time 2026-11-11 09:58:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pythonlist.cpp: In function ‘int main()’:
pythonlist.cpp:14:19: error: ‘one’ was not declared in this scope; did you mean ‘clone’?
14 | if (oneortwo == one) {
| ^~~
| clone
pythonlist.cpp:21:41: error: expected ‘;’ before ‘}’ token
21 | cout << "Empty" << "\n'"
| ^
| ;
22 | }
| ~
pythonlist.cpp:24:40: error: expected ‘;’ before ‘s’
24 | cout << s.top() << "\n"
| ^
| ;
25 | s.pop()
| ~