Problem | swap |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-06 15:10:55 |
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:71,
from /usr/include/c++/9/vector:60,
from swap.h:1,
from swap.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = const int; _Iterator = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >]’:
/usr/include/c++/9/bits/stl_algo.h:2057:14: required from ‘_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >; _Tp = int; _Compare = __gnu_cxx::__ops::_Val_less_iter]’
/usr/include/c++/9/bits/stl_algo.h:2091:32: required from ‘_FIter std::upper_bound(_FIter, _FIter, const _Tp&) [with _FIter = __gnu_cxx::__normal_iterator<