Problem | lis |
---|---|
User | yc |
Submission Time | 2025-09-03 11:34:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis.cpp: In function ‘int main()’:
lis.cpp:12:39: error: cast from ‘int*’ to ‘int’ loses precision [-fpermissive]
12 | c = max(c,(int)lower_bound(n1,n1+n,x)-n1);
| ^
lis.cpp:12:40: error: invalid operands of types ‘int’ and ‘int [n]’ to binary ‘operator-’
12 | c = max(c,(int)lower_bound(n1,n1+n,x)-n1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
| | |
| int int [n]