public static void Main()
paintLineByCoords(new int[] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 });
paintLineByCoords(new int[] { 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1 });
paintLineByCoords(new int[] { 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1 });
paintLineByCoords(new int[] { 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1 });
paintLineByCoords(new int[] { 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1 });
paintLineByCoords(new int[] { 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1 });
paintLineByCoords(new int[] { 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1 });
paintLineByCoords(new int[] { 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1 });
paintLineByCoords(new int[] { 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 });
paintLineByCoords(new int[] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 });
public static void paintLineByCoords(int[] coords)
foreach (int coord in coords)