Problem lis
User VNHbest
Submission Time 2024-04-09 09:33:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp: In function ‘int main()’:
lis.cpp:17:40: error: ‘max’ cannot be used as a function
17 | maxv = max(maxv, ans[j]);
| ^
lis.cpp:20:38: error: ‘max’ cannot be used as a function
20 | ans[i] = max(maxv + 1, ans[i]);
| ^