Problem lis_easy
User asruby
Submission Time 2023-12-01 13:18:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘long long int recur(long long int)’:
lis_easy.cpp:10:9: error: ‘X’ was not declared in this scope
10 | lis[X] = 1;
| ^
lis_easy.cpp:14:45: error: expected ‘)’ before ‘{’ token
14 | if (arr[x] > *max_element(lis, lis + x){
| ~ ^
| )
lis_easy.cpp:19:4: error: expected primary-expression before ‘}’ token
19 | }
| ^