Counting pairs

Problem Name:
Counting pairs
Site:HackerEarth
Links:
Tags: