CSES: Will the graph be unimodal?

Revision en2, by 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

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Virtual_Contestant 2020-05-24 22:32:56 208
en1 English Virtual_Contestant 2020-05-24 21:52:58 313 Initial revision (published)