All possible sum of pairs in 2d dynamic programming table

Revision en1, by madcannibal, 2015-09-03 15:21:59

i solve this problem using memoization recursive function (UVa 10306 — e-Coins) , but when i try bottom up i don't know how to make all possible sum pairs in 2d table using their rows and columns indexes , any ideas ? thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English madcannibal 2015-09-03 15:21:59 299 Initial revision (published)