Problem judgequeue
User reporter
Submission Time 2023-01-10 11:54:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

judgequeue.cpp: In function ‘void pop_front()’:
judgequeue.cpp:57:5: error: ‘inq’ was not declared in this scope; did you mean ‘int’?
57 | inq[l.front()] = 0;
| ^~~
| int
judgequeue.cpp: In function ‘void pop_back()’:
judgequeue.cpp:61:5: error: ‘inq’ was not declared in this scope; did you mean ‘int’?
61 | inq[l.back()] = 0;
| ^~~
| int
judgequeue.cpp: In function ‘void erase(int)’:
judgequeue.cpp:66:5: error: ‘inq’ was not declared in this scope; did you mean ‘int’?
66 | inq[subID] = 0;
| ^~~
| int