Need help for a question.

Правка en2, от hardy_9795, 2020-08-12 20:32:23

We have n blogs with each blog having a writer w[i] and number of likes l[i].We need to arrange the blogs in such a manner that the total sum of happiness is maximized. Happiness of a blog is defined as number of likes of that multiplied by number of different writers that have occurred upto the given blog. We need the value of maximum happiness.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский hardy_9795 2020-08-12 20:32:23 7 Tiny change: 'the total happiness' -> 'the total sum of happiness'
en1 Английский hardy_9795 2020-08-12 20:31:41 367 Initial revision (published)