Help with this DP problem

Правка en1, от catismyfav, 2020-04-27 20:01:08

Hello all! I was trying this problem. I understand the part that we have to count the numbers according to their modulo with 3 but I am stuck how to form DP states. Can someone please explain that. Thanks!

Теги #dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский catismyfav 2020-04-27 20:01:08 280 Initial revision (published)