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

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

Question — https://www.spoj.com/problems/PARTY/ My Solution — https://ideone.com/5e2C5G

In my viewpoint, calculating the maximum value for party enjoyment is easy by using classical knapsack problem but when it comes to calculate the cost, not only its giving WA for cost but also it gives WA for maximum value for party enjoyment!

I used top down approach and please help me!

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