Problem lis_easy
User christal
Submission Time 2023-12-20 15:46:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:7:18: error: a function-definition is not allowed here before ‘{’ token
7 | int lis(int idx){
| ^
lis_easy.cpp:18:20: error: ‘lis’ was not declared in this scope
18 | ans = max(ans, lis(i));
| ^~~