Problem medianheap
User YSH2020
Submission Time 2025-02-05 20:18:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp: In function ‘int main()’:
medianheap.cpp:14:18: error: ‘class std::multiset<int>’ has no member named ‘first’
14 | if (a >= *top.first()) top.insert(a);
| ^~~~~