Problem notduckhunt
User YSH2020
Submission Time 2025-12-15 17:05:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

notduckhunt.cpp: In function ‘int main()’:
notduckhunt.cpp:79:33: error: cannot convert ‘MedianHeap::median’ from type ‘int (MedianHeap::)()’ to type ‘int’
79 | if (mh.median() > ans) ans=mh.median, improved=true;
| ^~~~~~