hackerearth may easy challenge

algorithm
c-plus-plus
editorial
practice

#1


i dont know how to solve this problem,the only way i could think of is marking all the points on or under rectangles and finally counting all marked points.What is the correct way to solve this problem?Thank you. :slight_smile:


#2

Tumse na ho paega. :stuck_out_tongue:


#3

@ayushrocker92: use sweep line algorithm


#4

why downwote :confused:


#5

Is it an ongoing contest?


#6

no it finished yesterday midnight