Problem lis_easy
User DuckyKayden
Submission Time 2025-12-19 16:07:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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