Problem | lis_easy |
---|---|
User | eliasxyz |
Submission Time | 2025-06-14 14:58:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘std::pair<long long int, long long int> LIS(std::vector<long long int>)’:
lis_easy.cpp:11:10: error: wrong number of template arguments (1, should be 2)
11 | pair<ll> old=LIS(A);
| ^
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
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_easy.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: provided for ‘template<class _T1, class _T2> struct std::pair’
208 | struct pair
| ^~~~
lis_easy.cpp:11:19: error: cannot convert ‘std::pair<long long int, long long int>’ to ‘int’ in initialization
11 | pair<ll> old=LIS(A);
| ~~~^~~
| |
| std::pai