Help for problem

Правка ru1, от _Knyaz_, 2023-09-10 20:56:05

Problem

Translate in english: Tests number. Given N length array. You can do choose optional subarray and it turns all elements of the subarray to 0. And asked from you what is maximum sum of array's subarray. test 1 4 -1 4 -1 2

-1 4 [0] 2 -> -1 [4 0 2] -> 6

Теги problem, help, prefix, math

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
ru1 Русский _Knyaz_ 2023-09-10 20:56:05 339 Первая редакция (опубликовано)