need some help for a dp problem

Правка en1, от liveoverflow, 2019-11-22 00:00:25

I am trying to solve a problem, but getting WA.

I could not find out the reason why. Here is my code: Submission 65502511 Can you suggest any reasons? Thank you!

Теги #dp, #598, div

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский liveoverflow 2019-11-22 00:00:25 310 Initial revision (published)