ABC033D Triangle Classification

Given n distinct points in the plane, choose every set of three points and form a triangle. No three points are collinear. Return the number of acute triangles, right triangles, and obtuse triangles in that order.

For a triangle, let a <= b <= c be its squared side lengths. It is acute when a + b > c, right when a + b == c, and obtuse when a + b < c.

Examples
Input: [1,2,3]
Output: 0
Hints

ABC033D Triangle Classification

Given `n` distinct points in the plane, choose every set of three points and form a triangle. No three points are collinear. Return the number of acute triangles, right triangles, and obtuse triangles in that order.