Anyone knows the dp solution for this

Правка en1, от mac_n_cheese_pog, 2021-08-28 13:42:11

https://codeforces.net/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>

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский mac_n_cheese_pog 2021-08-28 13:42:11 319 Initial revision (published)