need help to calculate dominance in of points

Revision en1, by ak3899, 2018-07-21 08:24:43

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.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ak3899 2018-07-21 08:24:43 404 Initial revision (published)