Problem | discharging |
---|---|
User | ChickenCoder |
Submission Time | 2023-01-25 12:10:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
discharging.cpp: In member function ‘long long int CHT::query_two(int)’:
discharging.cpp:65:81: error: no matching function for call to ‘lower_bound(std::deque<int>::iterator, std::deque<int>::iterator, int&, CHT::query_two(int)::<lambda(int, int)>&)’
65 | int pos = lower_bound(all_intersections.begin(), all_intersections.end(), x, f) - all_intersections.begin() - 1;
| ^
In file included 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 discharging.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:1004:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> _ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)’
1004 | lower_bound(_For