Problem lis_easy
User estkn
Submission Time 2026-02-23 16:26:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:18:46: error: ‘max’ cannot be used as a function
18 | dp[i] = max(dp[i], dp[j] + 1);
| ^
lis_easy.cpp:21:29: error: ‘max’ cannot be used as a function
21 | max = max(max, dp[i]);
| ^