Problem medianheap
User dumgod
Submission Time 2025-01-17 23:21:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp: In function ‘int main()’:
medianheap.cpp:57:18: error: invalid use of member function ‘bool std::priority_queue<_Tp, _Sequence, _Compare>::empty() const [with _Tp = long long int; _Sequence = std::vector<long long int, std::allocator<long long int> >; _Compare = std::less<long long int>]’ (did you forget the ‘()’ ?)
57 | else if(small.empty==0){
| ~~~~~~^~~~~
| ()