October Circuit Problem(Hackerearth)

Правка en1, от xyz_000, 2018-11-04 19:51:25

Please help with this problem from October circuit from Hackerearth. In their editorial they just posted solution code. Please provide some idea(I know that Segment tree can be used) but I am not sure how to handle the reverse operation.

Теги #segment tree

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский xyz_000 2018-11-04 19:51:25 425 Initial revision (published)