SPOJ-RENT : Rent Your Airplane And Make Money

Revision en1, by vee_sharp, 2015-12-16 17:26:50

I am trying to solve the problem RENT on SPOJ. Here is the link http://www.spoj.com/problems/RENT/.I have done it using dynamic programming and binary search. I cant figure out what is wrong with my code.Here is a link to my code : http://ideone.com/UgnBRN . Please Help.

Tags c++, dynamic programming, binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English vee_sharp 2015-12-16 17:26:50 354 Initial revision (published)