Comments
+3

I think maybe segment tree can solve it.

On hitman623Manthan — Codefest'19, 7 years ago
+45

Yes,it will.And I think it doesn't matter if you do a great job or win a T-shirt or not,I think the
feeling during the contest is the most exciting thing! And good luck to all of you!