mohit baid's submission of Valid Triangles | CodeChef