Count Pairs

Problem Name:
Count Pairs
Site:Spoj
Links:
Tags:
Problem setters: