Problem | inheritance |
---|---|
User | Pan |
Submission Time | 2023-12-01 11:04:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/set:60,
from inheritance.cpp:4:
/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 = road; _Val = road; _KeyOfValue = std::_Identity<road>; _Compare = compare; _Alloc = std::allocator<road>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<road>*]’:
/usr/include/c++/9/bits/stl_tree.h:2100:47: 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_unique_pos(const key_type&) [with _Key = road; _Val = road; _KeyOfValue = std::_Identity<road>; _Compare = compare; _Alloc = std::allocator<road>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare,