Problem lis
User Xiaoyang
Submission Time 2024-12-08 23:27:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp:25:5: error: conflicting declaration ‘int tree [800040]’
25 | int tree[maxn<<2];
| ^~~~
lis.cpp:24:4: note: previous declaration as ‘long long int tree [200010]’
24 | ll tree[maxn];//tree at pos a[i] stores val dp[i]
| ^~~~
lis.cpp: In function ‘int main()’:
lis.cpp:49:9: error: ‘lc’ was not declared in this scope; did you mean ‘ll’?
49 | memset(lc,-1,sizeof lc);
| ^~
| ll
lis.cpp:50:9: error: ‘rc’ was not declared in this scope; did you mean ‘rt’?
50 | memset(rc,-1,sizeof rc);
| ^~
| rt