Problem minimum
User god
Submission Time 2025-07-11 10:26:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/set:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:87,
from minimum.cpp:1:
/usr/include/c++/9/bits/stl_set.h: In instantiation of ‘class std::set<int, std::vector<int>, std::greater<int> >’:
minimum.cpp:7:43: required from here
/usr/include/c++/9/bits/stl_set.h:129:22: error: no type named ‘value_type’ in ‘struct std::greater<int>’
129 | rebind<_Key>::other _Key_alloc_type;
| ^~~~~~~~~~~~~~~
/usr/include/c++/9/bits/stl_set.h:132:40: error: no type named ‘value_type’ in ‘struct std::greater<int>’
132 | key_compare, _Key_alloc_type> _Rep_type;
| ^~~~~~~~~
/usr/include/c++/9/bits/stl_set.h:135:58: error: no type named ‘value_type’ in ‘struct std::greater<int>’
135 | typedef __gnu_cxx::__alloc_traits<_Key_alloc_type> _Alloc_