http://online-judge.uva.es/board/viewto ... ight=10015
![:)](./images/smilies/icon_smile.gif)
Yes.jan_holmes wrote:I still do not understand about the recurrence relation for this problem. Is it 3-d array ?
Code: Select all
function(char_index,length/level,sum)
Code: Select all
res=MCM(i,k)+MCM(k,j) +(table[i][k-1]*table[k][j-1]])