Problem potionseasy
User Whatturtle
Submission Time 2025-03-18 18:58:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potionseasy.cpp: In function ‘int main()’:
potionseasy.cpp:28:19: error: ‘class std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >’ has no member named ‘emtpy’; did you mean ‘empty’?
28 | while(!pq.emtpy()&&total<0){
| ^~~~~
| empty