In file included from /usr/include/c++/13/bits/stl_algobase.h:71,
from /usr/include/c++/13/algorithm:60,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51,
from answer.code:1:
/usr/include/c++/13/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Val_less_iter::operator()(_Value&, _Iterator) const [with _Value = const std::pair<long long int, std::pair<double, double> >; _Iterator = __gnu_cxx::__normal_iterator<std::pair<long double, std::pair<long long int, long long int> >*, std::vector<std::pair<long double, std::pair<long long int, long long int> > > >]’:
/usr/include/c++/13/bits/stl_algo.h:2035:14: required from ‘_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<pair<long double, pair<long long int, long long int> >*, vector<pair<long double, pair<long long int, long long int> > > >; _Tp = pair<long long int, pair<double, double> >; _Compare = __gnu_cxx::__ops::_Val_less_iter]’
/usr/include/c++/13/bits/stl_algo.h:2070:32: required from ‘_FIter std::upper_bound(_FIter, _FIter, const _Tp&) [with _FIter = __gnu_cxx::__normal_iterator<pair<long double, pair<long long int, long long int> >*, vector<pair<long double, pair<long long int, long long int> > > >; _Tp = pair<long long int, pair<double, double> >]’
answer.code:44:23: required from here
/usr/include/c++/13/bits/predefined_ops.h:98:22: error: no match for ‘operator<’ (operand types are ‘const std::pair<long long int, std::pair<double, double> >’ and ‘std::pair<long double, std::pair<long long int, long long int> >’)
98 | { return __val < *__it; }
| ~~~~~~^~~~~~~
In file included from /usr/include/c++/13/bits/stl_algobase.h:67:
/usr/include/c++/13/bits/stl_iterator.h:1250:5: note: candidate: ‘template<class _IteratorL, class _IteratorR, class _Container> bool __gnu_cxx::operator<(const __normal_iterator<_IteratorL, _Container>&, const __normal_iterator<_IteratorR, _Container>&)’
1250 | operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
| ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator.h:1250:5: note: template argument deduction/substitution failed:
/usr/include/c++/13/bits/predefined_ops.h:98:22: note: ‘const std::pair<long long int, std::pair<double, double> >’ is not derived from ‘const __gnu_cxx::__normal_iterator<_IteratorL, _Container>’
98 | { return __val < *__it; }
| ~~~~~~^~~~~~~
/usr/include/c++/13/bits/stl_iterator.h:1258:5: note: candidate: ‘template<class _Iterator, class _Container> bool __gnu_cxx::operator<(const __normal_iterator<_Iterator, _Container>&, const __normal_iterator<_Iterator, _Container>&)’
1258 | operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
| ^~~~~~~~
/usr/include/c++/13/bits/stl_iterator.h:1258:5: note: template argument deduction/substitution failed:
/usr/include/c++/13/bits/predefined_ops.h:98:22: note: ‘const std::pair<long long int, std::pair<double, double> >’ is not derived from ‘const __gnu_cxx::__normal_iterator<_Iterator, _Container>’
98 | { return __val < *__it; }
| ~~~~~~^~~~~~~
In file included from /usr/include/c++/13/regex:68,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:181:
/usr/include/c++/13/bits/regex.h:1143:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator<(const sub_match<_BiIter>&, const sub_match<_BiIter>&)’
1143 | operator<(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
| ^~~~~~~~
/usr/include/c++/13/bits/regex.h:1143:5: note: template argument deduction/substitution failed:
/usr/include/c++/13/bits/predefined_ops.h:98:22: note: ‘const std::pair<long long int, std::pair<double, double> >’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
98 | { return __val < *__it; }
| ~~~~~~^~~~~~~
/usr/include/c++/13/bits/regex.h:1224:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator<(__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&, const sub_match<_BiIter>&)’
1224 | operator<(const __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>& __lhs,
| ^~~~~~~~
/usr/include/c++/13/bits/regex.h:1224:5: note: template argument deduction/substitution failed:
/usr/include/c++/13/bits/predefined_ops.h:98:22: note: ‘const std::pair<long long int, std::pair<double, double> >’ is not derived from ‘std::__cxx11::__sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>’
98 | { return __val < *__it; }
| ~~~~~~^~~~~~~
/usr/include/c++/13/bits/regex.h:1317:5: note: candidate: ‘template<class _Bi_iter, class _Ch_traits, class _Ch_alloc> bool std::__cxx11::operator<(const sub_match<_BiIter>&, __sub_match_string<_Bi_iter, _Ch_traits, _Ch_alloc>&)’
1317 | operato...