Problem lis_easy
User YongXin
Submission Time 2023-06-20 10:25:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:12:14: error: expected ‘;’ before ‘for’
12 | b[i]=b[i-1]
| ^
| ;
13 | for (int j=0;j<i;++j) if (b[j]==b[i] && a[j]<a[i]){
| ~~~
lis_easy.cpp:13:16: error: ‘j’ was not declared in this scope
13 | for (int j=0;j<i;++j) if (b[j]==b[i] && a[j]<a[i]){
| ^