Code: Select all
6
4
10
5
5
5
5
5
5
Code: Select all
6
5
10
9
And change thisJan wrote:Check the following thread...
http://online-judge.uva.es/board/viewtopic.php?t=7879
Code: Select all
cout<<"\n"<<lcs(arr1,arr2,n,n);
Code: Select all
cout<<lcs(arr1,arr2,n,n)<<"\n";