Problem berlandtaxi
User gyheva
Submission Time 2021-01-04 20:17:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/map:60,
from berlandtaxi.cpp:3:
/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 = p; _Val = p; _KeyOfValue = std::_Identity<p>; _Compare = cmp; _Alloc = std::allocator<p>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<p>*]’:
/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 = p; _Val = p; _KeyOfValue = std::_Identity<p>; _Compare = cmp; _Alloc = std::allocator<p>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::key_type = p]’
/usr/