Problem medianheap
User JhoCyber
Submission Time 2025-01-30 12:06:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp: In function ‘int32_t main()’:
medianheap.cpp:43:17: error: cannot convert ‘std::priority_queue<long long int>::empty’ from type ‘bool (std::priority_queue<long long int>::)() const’ to type ‘bool’
43 | while(!left.empty){
| ^~~~~
medianheap.cpp:43:17: error: in argument to unary !