Counting Quadruples of Points

Problem Name:
Counting Quadruples of Points
Site:HackerEarth
Links:
Tags:
Problem setters: