Problem lis_easy
User kashsinghal
Submission Time 2023-11-10 09:31:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:18:5: error: conflicting declaration ‘int arr [indexno]’
18 | int arr[indexno];
| ^~~
lis_easy.cpp:10:5: note: previous declaration as ‘int arr [n]’
10 | int arr[n];
| ^~~
lis_easy.cpp:21:1: error: expected ‘}’ at end of input
21 | }
| ^
lis_easy.cpp:4:15: note: to match this ‘{’
4 | int32_t main(){
| ^