Nastya and King Shamans

Revision en1, by Doritos4, 2018-07-09 18:27:56

In the editorial for problem E, how does the author descend down the segment tree to find the leftmost maximum element? It hasn’t been explained there. Please help


  Rev. Lang. By When Δ Comment
en2 English Doritos4 2018-07-17 21:11:20 128
en1 English Doritos4 2018-07-09 18:27:56 221 Initial revision (published)