Problem medianheap
User AltheaZ
Submission Time 2023-11-14 20:48:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

medianheap.cpp: In function ‘int main()’:
medianheap.cpp:40:9: error: ‘result’ was not declared in this scope
40 | result.push_back(minHeap.top());
| ^~~~~~
medianheap.cpp:44:9: error: ‘result’ was not declared in this scope
44 | result.push_back(maxHeap.top());
| ^~~~~~