Problem judgequeue
User pythonPerfectionist
Submission Time 2023-08-12 20:29:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

judgequeue.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
2 | #include bits/stdc++.h
| ^~~~
judgequeue.cpp: In function ‘void init(int, int)’:
judgequeue.cpp:7:3: error: ‘list’ was not declared in this scope
7 | list<int>q;
| ^~~~
judgequeue.cpp:2:1: note: ‘std::list’ is defined in header ‘<list>’; did you forget to ‘#include <list>’?
1 | #include "judgequeue.h"
+++ |+#include <list>
2 | #include bits/stdc++.h
judgequeue.cpp:7:8: error: expected primary-expression before ‘int’
7 | list<int>q;
| ^~~
judgequeue.cpp:8:3: error: ‘vector’ was not declared in this scope
8 | vector<list<int>::iterator> locs;
| ^~~~~~
judgequeue.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include "judgequeue.h"
+++ |+#include <vector>