Problem | lis |
---|---|
User | newplayer |
Submission Time | 2024-02-17 06:35:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis.cpp: In function ‘int32_t main()’:
lis.cpp:21:39: error: no matching function for call to ‘lower_bound(<unresolved overloaded function type>, <unresolved overloaded function type>, long long int&)’
21 | *(lower_bound(v.begin,v.end,arr[i]))=arr[i];
| ^
In file included 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 lis.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(_ForwardIterator __first, _ForwardIterator __last,
| ^~~~~~~~~~~
/usr/include/c++/9/bits/stl_algobase.h:1004:5: note: template argument deduction/substitution failed:
lis.cpp:21:39: note: