PILOTS spoj dp problem getting tle

Правка en1, от jugal_sahu, 2015-06-09 20:21:13

I was trying to solve this problem using top down dp but got tle.I read from comment that bottom up gives ac.But i am unable to implement bottom up dp.Please help.Thanks. Problem link: here My code link: here

Теги dp

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский jugal_sahu 2015-06-09 20:21:13 315 Initial revision (published)