蔡子逸's submission of Total Diamonds | CodeChef