Nishant Dalmia's submission of Piles | CodeChef