Problem catlunch
User zhaoqihui
Submission Time 2024-07-06 09:42:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:2:2: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(false);cin.tie(0);
| ^~~~~~~~
catlunch.cpp:2:35: error: ‘cin’ was not declared in this scope
2 | ios_base::sync_with_stdio(false);cin.tie(0);
| ^~~
catlunch.cpp:6:1: error: ‘deque’ was not declared in this scope
6 | deque<int> dq;
| ^~~~~
catlunch.cpp:6:7: error: expected primary-expression before ‘int’
6 | deque<int> dq;
| ^~~
catlunch.cpp:10:2: error: ‘dq’ was not declared in this scope
10 | dq.push-back(x);
| ^~
catlunch.cpp:10:10: error: ‘back’ was not declared in this scope
10 | dq.push-back(x);
| ^~~~
catlunch.cpp:13:1: error: ‘priority_queue’ was not declared in this scope
13 | priority_queue<int> pq;
| ^~~~~~~~~~~~~~
catlunch.cpp:13:16: error: expect