CSES: Will the graph be unimodal?

Правка en2, от Virtual_Contestant, 2020-05-24 22:32:56

Hello everyone, Can anyone just confirm how the graph of cost and the final height (same for all) would look like in this question? What I think is it would be unimodal function (having exactly one minima) but i don't know if it is correct. https://cses.fi/problemset/task/1074 UPD: any reason for downvoting? please tell me so i can edit. i just wanted to know just how graph of total cost for modifying all sticks to some particular same height would look like w.r.t to that height

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Virtual_Contestant 2020-05-24 22:32:56 208
en1 Английский Virtual_Contestant 2020-05-24 21:52:58 313 Initial revision (published)