Problem catlunch
User BigEd15
Submission Time 2025-05-17 15:22:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

catlunch.cpp: In function ‘int main()’:
catlunch.cpp:36:14: error: ‘class std::priority_queue<long long int>’ has no member named ‘emptyu’; did you mean ‘empty’?
36 | if (pq.emptyu()==0) {
| ^~~~~~
| empty
catlunch.cpp: At global scope:
catlunch.cpp:43:2: error: ‘cout’ does not name a type
43 | cout << highestsatisfaction;
| ^~~~
catlunch.cpp:47:2: error: expected unqualified-id before ‘return’
47 | return 0;
| ^~~~~~
catlunch.cpp:49:1: error: expected declaration before ‘}’ token
49 | }
| ^