using System.Collections.Generic;
public static void Main()
var result = new Solution().solution(new Point2D[] {
new Point2D { x = -1, y = -2 },
new Point2D { x = 1, y = 2 },
new Point2D { x = 2, y = 4 },
Console.WriteLine(result);
public int solution(Point2D[] A)
var hash = new HashSet<double>();
hash.Add(point.x / point.y);