zhang9012's blog

By zhang9012, history, 5 weeks ago, In English

Hi there, I want your help in a problem... Statement: Initially we have 0 dollar, and I have a printing machine by which I can print 2 dollar/second, and if I reach at A dollar I can buy another printing machine using A dollar which has a printing speed is B dollar/second, You have to find minimum time required to reach an amount of C dollar. eg.. A = 500, B = 4, C = 2000 output: 527

 
 
 
 
  • Vote: I like it
  • +8
  • Vote: I do not like it

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by zhang9012 (previous revision, new revision, compare).

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

I will help you after becoming CM