CP-library My library of different algorithms and data structures. Important notes 0). Everywhere 0-indexation is used. 1). Everywhere in interfaces segments [l, r] are used instead of intervals (l, r) and half-intervals [l, r), (l, r].