i have stuck on this spoj problem in which i have to calculate dominance of points e.g. a point (x1, y1) is said to be dominating another point (x2, y2) if x1>=x2 and y1>=y2 .
https://www.spoj.com/problems/DCEPC705/
my question is that how can i calculate this using binary index tree? this question was queued under the Binary index tree on a portal.