Problem | lis |
---|---|
User | newplayer |
Submission Time | 2024-02-17 06:34:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis.cpp: In function ‘int32_t main()’:
lis.cpp:18:49: error: expected ‘;’ before ‘arr’
18 | if (v.empty() or v.back()<arr[i]) v.push_back arr[i];
| ^~~~
| ;
lis.cpp:18:40: error: statement cannot resolve address of overloaded function
18 | if (v.empty() or v.back()<arr[i]) v.push_back arr[i];
| ~~^~~~~~~~~
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,