Problem 3: Codeforces 877E

Prerequisits:

  • Segment trees with lazy propagation

This Tutorial Includes:

  • How to use a segment tree to query a subtree
  • The solution to 877E

Video solutions are coming soon.