PILOTS spoj dp problem getting tle

Revision en1, by 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

Tags dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English jugal_sahu 2015-06-09 20:21:13 315 Initial revision (published)