Little help needed in this question :)

Revision en1, by antivenom, 2015-06-27 14:58:15

Hello,I was trying this question and thought to use Dynamic programming but it will exceed memory limit.Can anybody give me a sight how to solve this question.

Tags spoj

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English antivenom 2015-06-27 14:58:15 235 Initial revision (published)