Count the Pairs

Problem Name:
Count the Pairs
Site:HackerEarth
Links:
Tags: