The Square CounterWe at juspay like to play with Maths. One of our favourite topics is coordinate geometry. We have been given n coordinates in a xy plane and we have to find the number of squares that are possible to be formed parallel to the axes. Can you help juspay in solving the problemNOTEit is guaranteed that each point is distinctInputThe first line tells you the number of points tenNext lines tell you the x and y coordinates of the pointsOutputeturns a single output the number of squares that can be formed with the given n pointsConstraints:1<=n<=100000<=x<=100000 Time= 2 sec per est
Answers
Answered by
0
Answer:
she said ki and her to do it all are well soon enough to make it to their self esteem issues I guess they are not the ones
Explanation:
please tell us and your story about u and I will g your heart t
Similar questions