Help Needed!!

Правка en1, от aloobukhara, 2019-06-10 14:26:55

we have an array of size n. we have to maximize a variable "sum" which is initialized to 0 . for this we can do the following operation as many time as we can (including 0). operation : consider any subsequence of size m<=n . update sum value by the total sum of subsequence and update value of each element of the subsequence by multiplying it by -1. Thanks in advance !!

Теги algorithms

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский aloobukhara 2019-06-10 14:52:52 64
en2 Английский aloobukhara 2019-06-10 14:27:56 59
en1 Английский aloobukhara 2019-06-10 14:26:55 388 Initial revision (published)