Dinesh Goyal's submission of Valid Triangles | CodeChef