I need some help for approaching DP problems

Revision en2, by fabbiucciello, 2021-04-06 23:08:47

Hi everybody. This is my first time I put the hands on a DP problem. The first problem which got my attention is [this one].In my opinion it is a basic DP problem. I would like to get the way of approaching this type of problems. Any advice? (https://codeforces.me/problemset/problem/189/A)

Tags #dynamic programing

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English fabbiucciello 2021-04-06 23:10:18 112
en2 English fabbiucciello 2021-04-06 23:08:47 3 Tiny change: 'oaching these type of p' -> 'oaching this type of p'
en1 English fabbiucciello 2021-04-06 23:08:21 338 Initial revision (published)