[algogeeks] need help solving this ACM ICPC prelims problem

2010-10-18 Thread soundar
Problem D: Numbered Grid A grid of size N rows and M columns is filled with numbers, one in each cell. You start at the centre of the cell at the top-left corner (1,1) and your destination is the centre of the cell at the bottom- right corner(N,M). In each step, you are only allowed to move to

Re: [algogeeks] need help solving this ACM ICPC prelims problem

2010-10-18 Thread praba karan
its a dp prob... -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit