SPOJ dp problem COLORSEG

Правка en1, от nightwing123, 2017-05-31 13:43:03

Can anyone help me with this problem? http://www.spoj.com/problems/COLORSEG/

It seems it requires some state space reduction/some clever optimisation or an entirely different approach.Have been trying this for quite a long time and no solution/hints are available anywhere.Would be grateful if anyone can help

Теги dp, spoj

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский nightwing123 2017-05-31 13:43:03 336 Initial revision (published)