Problem | swords |
---|---|
User | nutzzzz |
Submission Time | 2025-01-21 20:59:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
In file included from /usr/include/c++/9/bits/stl_algobase.h:67,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from swords.cpp:1:
/usr/include/c++/9/bits/stl_iterator.h: In instantiation of ‘constexpr std::reverse_iterator<_Iterator> std::reverse_iterator<_Iterator>::operator+(std::reverse_iterator<_Iterator>::difference_type) const [with _Iterator = std::_Rb_tree_iterator<std::pair<const int, int> >; std::reverse_iterator<_Iterator>::difference_type = long int]’:
swords.cpp:45:27: required from here
/usr/include/c++/9/bits/stl_iterator.h:255:41: error: no match for ‘operator-’ (operand types are ‘const std::_Rb_tree_iterator<std::pair<const int, int> >’ and ‘std::reverse_iterator<std::_Rb_tree_iterator<std::pair<con