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

Compile Error

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