Problem | pythonlist |
---|---|
User | RaphaelTanKaiJie1000 |
Submission Time | 2025-06-18 10:21:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pythonlist.cpp: In function ‘int32_t main()’:
pythonlist.cpp:5:31: error: expected ‘;’ before ‘cin’
5 | ios_base:: sync_with_stdio(0)
| ^
| ;
6 | cin.tie(0);
| ~~~
pythonlist.cpp:9:2: error: ‘deque’ was not declared in this scope
9 | deque<long long> 1st;
| ^~~~~
pythonlist.cpp:3:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
2 | #include <vector>
+++ |+#include <deque>
3 | using namespace std;
pythonlist.cpp:9:8: error: expected primary-expression before ‘long’
9 | deque<long long> 1st;
| ^~~~
pythonlist.cpp: At global scope:
pythonlist.cpp:10:4: error: expected unqualified-id before ‘for’
10 | } for (1 = 0: i < Q; i++) {
| ^~~
pythonlist.cpp:10:23: error: ‘i’ does not name