I need help with a problem ...
Difference between en1 and en2, changed 34 character(s)
for a sequence of positive integers a1, a2, a3, ..., an and a number d. You can select a consecutive sub-segment in the sequence a1, a2, a3, ..., an and increase that sub-segment to x (-d <= x <= d). What is the longest piece you canincrease in a substring length you have?↵
(With n <= 100000 and d <= 1000000000 and a[i]<=1000000000 with from 1 to n)↵
(Since this is my school essay, I don't have any links, so sorry).↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English GokuSSJ7 2019-10-14 11:48:42 34
en1 English GokuSSJ7 2019-10-14 11:05:35 417 Initial revision (published)