Please subscribe to the official Codeforces channel in Telegram via the link ×

zhang9012's blog

By zhang9012, history, 2 months 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

Read more »

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