| Problem | sadtrainer2 |
|---|---|
| User | dooweidde |
| Submission Time | 2025-04-30 14:53:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sadtrainer2.cpp: In function ‘int main()’:
sadtrainer2.cpp:33:53: error: no matching function for call to ‘lower_bound(std::vector<long long int>::iterator, std::vector<long long int>::iterator)’
33 | if (lower_bound(cupval.begin(), cupval.end()) != cupval.end()){
| ^
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 sadtrainer2.cpp:2:
/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(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
/usr/include/c++/9/bits/stl_algobase.h:1004:5: note: t