Anyone knows the dp solution for this

Revision en1, by mac_n_cheese_pog, 2021-08-28 13:42:11

https://codeforces.me/contest/1459/problem/B

i just started learning dp a year ago and i could not find the solution for this problem.i dont know the states because i dont know what thing matters to get to a certain point and also the dimension of the dp.can anyone help me>

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mac_n_cheese_pog 2021-08-28 13:42:11 319 Initial revision (published)