Problem: Light OJ — Lining up Students
can anyone give me any idea
how can i solve this problem with Binary Index Tree or Segment Tree???
Binary Index Tree or Segment Tree Problem
Problem: Light OJ — Lining up Students
can anyone give me any idea
how can i solve this problem with Binary Index Tree or Segment Tree???