dynamic programming

Revision en1, by vsanjay_nitdgp, 2015-08-01 11:42:55

Hello...I am a dream coder...and now I want to master dynamic programming...recently I solving the following problem....

i saw the ditorial,,,,but dp solution was not given.

could any one explain dp code for below problem.i am dp beginner

Thanks in advance

http://mirror.codeforces.com/problemset/problem/327/A

Tags dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English vsanjay_nitdgp 2015-08-01 11:42:55 334 Initial revision (published)