Niclas Alexandersson edited dynamic.tex  about 10 years ago

Commit id: f17ee594c7188d14e6937c66bfd337be0154353a

deletions | additions      

       

for a in 0..x loop  let m = max(m, g(a) + mr(i - 1, x - a))  end  let mem[i, x] = m  end  return mem[i, x]  end