Problem fractions
User JoshJuice
Submission Time 2024-09-16 18:09:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from fractions.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = std::_Deque_iterator<std::pair<double, double>, std::pair<double, double>&, std::pair<double, double>*>; _Value = const std::pair<double, double>; _Compare = bool (*)(std::pair<double, double>&, std::pair<double, double>&)]’:
/usr/include/c++/9/bits/stl_algobase.h:979:14: required from ‘_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = std::_Deque_iterator<std::pair<double, double>, std::pair<d