Problem lis_easy
User 123456789
Submission Time 2023-08-11 15:31:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:9:8: error: request for member ‘fill’ in ‘dp’, which is of non-class type ‘int [n]’
9 | dp.fill(0);
| ^~~~
lis_easy.cpp:12:28: error: expected ‘;’ before ‘<’ token
12 | for (int j = i+1, j < n, j++) {
| ^~
| ;
lis_easy.cpp:12:29: error: expected primary-expression before ‘<’ token
12 | for (int j = i+1, j < n, j++) {
| ^
lis_easy.cpp:12:37: error: expected ‘;’ before ‘)’ token
12 | for (int j = i+1, j < n, j++) {
| ^
| ;