Amit Dwivedi's submission of Valid Triangles | CodeChef