How to solve this segment tree part of the problem "Hiring"

Правка en1, от question_id, 2016-03-29 21:41:22

Please, anyone help me on solving the segment tree part of the following problem: http://codeforces.me/contest/589/problem/G

I can handle the Binary Search part.. But the Segment tree part is very hard to me.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский question_id 2016-03-29 21:41:22 271 Initial revision (published)