Problem flipcards
User YEethui
Submission Time 2023-12-09 00:47:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/set:60,
from flipcards.cpp:8:
/usr/include/c++/9/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = Card; _Val = Card; _KeyOfValue = std::_Identity<Card>; _Compare = CompareIndex; _Alloc = std::allocator<Card>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<Card>*]’:
/usr/include/c++/9/bits/stl_tree.h:2131:44: 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 = Card; _Val = Card; _KeyOfValue = std::_Identity<Card>; _Compare = CompareIndex; _Alloc = std::allocator<Card>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _C