Problem | swords |
---|---|
User | nutzzzz |
Submission Time | 2025-01-21 20:44:26 |
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 ‘class std::reverse_iterator<std::map<int, int> >’:
swords.cpp:43:37: required from here
/usr/include/c++/9/bits/stl_iterator.h:105:11: error: no type named ‘iterator_category’ in ‘struct std::iterator_traits<std::map<int, int> >’
105 | class reverse_iterator
| ^~~~~~~~~~~~~~~~
/usr/include/c++/9/bits/stl_iterator.h:119:55: error: no type named ‘difference_type’ in ‘struct std::iterator_traits<std::map<int, int> >’
119 | typedef typename __traits_type::difference_type difference_type;
|