0_0_17070343_24548.cpp: In function 'int main(int, const char**)':
0_0_17070343_24548.cpp:40:29: error: invalid conversion from 'int' to 'int*' [-fpermissive]
printf("%d\n",LIS(ary[1005],N));
^
0_0_17070343_24548.cpp:5:5: note: initializing argument 1 of 'int LIS(int*, int)'
int LIS(int arr[1005], int n)
^
|