Dhruv Kakadiya's submission of D - Triangle Count | CodeChef