Problem | pythonlist |
---|---|
User | 1111111112 |
Submission Time | 2025-06-18 09:22:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pythonlist.cpp:1:3: error: invalid preprocessing directive #Read
1 | # Read number of questions
| ^~~~
pythonlist.cpp:4:3: error: invalid preprocessing directive #Start
4 | # Start with empty list
| ^~~~~
pythonlist.cpp:7:3: error: invalid preprocessing directive #Process
7 | # Process each question
| ^~~~~~~
pythonlist.cpp:12:11: error: invalid preprocessing directive #Push
12 | # Push number to back of list
| ^~~~
pythonlist.cpp:17:11: error: invalid preprocessing directive #Print
17 | # Print and remove last item
| ^~~~~
pythonlist.cpp:18:22: error: stray ‘#’ in program
18 | if my_list: # if list is not empty
| ^
pythonlist.cpp:2:1: error: ‘q’ does not name a type
2 | q = int(input())
| ^