Problem lis_easy
User pinglynn
Submission Time 2023-11-10 10:27:33
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:16:23: error: expected ‘)’ before ‘{’ token
16 | if (arr[j]<arr{i}){
| ~ ^
| )
lis_easy.cpp:20:16: error: ‘is’ was not declared in this scope; did you mean ‘lis’?
20 | if(is[i]==0){
| ^~
| lis
lis_easy.cpp:20:19: error: ‘i’ was not declared in this scope
20 | if(is[i]==0){
| ^
lis_easy.cpp:32:17: error: expected ‘}’ at end of input
32 | }
| ^
lis_easy.cpp:20:25: note: to match this ‘{’
20 | if(is[i]==0){
| ^
lis_easy.cpp:32:17: error: expected ‘}’ at end of input
32 | }