Problem | inheritance |
---|---|
User | Pan |
Submission Time | 2023-12-01 11:01:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/map:60,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from inheritance.cpp:1:
/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 =