Problem skillmoves
User TheGhostKing
Submission Time 2023-06-04 12:45:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skillmoves.cpp: In function ‘int main()’:
skillmoves.cpp:29:21: error: cannot convert ‘std::priority_queue<long long int>::empty’ from type ‘bool (std::priority_queue<long long int>::)() const’ to type ‘bool’
29 | while ((!usable.empty) && (used < k)){
| ^~~~~
skillmoves.cpp:29:21: error: in argument to unary !