Problem | medianheap |
---|---|
User | trashcan08 |
Submission Time | 2024-11-29 14:34:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/set:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from medianheap.cpp:1:
/usr/include/c++/9/bits/stl_multiset.h: In instantiation of ‘class std::multiset<long long int, std::vector<long long int>, std::greater<long long int> >’:
medianheap.cpp:10:46: required from here
/usr/include/c++/9/bits/stl_multiset.h:129:22: error: no type named ‘value_type’ in ‘struct std::greater<long long int>’
129 | rebind<_Key>::other _Key_alloc_type;
| ^~~~~~~~~~~~~~~
/usr/include/c++/9/bits/stl_multiset.h:132:40: error: no type named ‘value_type’ in ‘struct std::greater<long long int>’
132 | key_compare, _Key_alloc_type> _Rep_type;
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_multiset.h:136:58: error: no type named ‘value_type’ in ‘struct std::greater<long lon