Prasanjit Barua 's submission of Counting The Important Pairs | CodeChef