Problem ballot
User SuspiciousAmogus
Submission Time 2024-06-13 12:22:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/string:48,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from ballot.cpp:1:
/usr/include/c++/9/bits/stl_function.h: In instantiation of ‘constexpr bool std::less<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp = student]’:
/usr/include/c++/9/bits/stl_tree.h:2131:51: required from ‘std::pair<std::_Rb_tree_node_base*, std::_Rb_tree_node_base*> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_equal_pos(const key_type&) [with _Key = student; _Val = student; _KeyOfValue = std::_Identity<student>; _Compare = std::less<student>; _Alloc = std::allocator<student>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compa