Блог пользователя acash

Автор acash, история, 4 года назад, По-английски

Given a rod of length n inches and an array of prices that contains prices of all pieces of size smaller than n. Determine the locations where the cuts are to be made for maximum profit.

I need help how can we approach this problem ?

  • Проголосовать: нравится
  • -13
  • Проголосовать: не нравится