Problem lis_easy
User pinglynn
Submission Time 2023-11-10 10:29:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:16:17: error: ‘j’ was not declared in this scope
16 | if (arr[j]<arr[i]){
| ^
lis_easy.cpp:20:21: error: ‘i’ was not declared in this scope
20 | if (lis[i]==0){
| ^
lis_easy.cpp:32:17: error: expected ‘}’ at end of input
32 | }
| ^
lis_easy.cpp:20:27: note: to match this ‘{’
20 | if (lis[i]==0){
| ^
lis_easy.cpp:32:17: error: expected ‘}’ at end of input
32 | }
| ^
lis_easy.cpp:5:15: note: to match this ‘{’
5 | int32_t main(){
| ^