public static int Part1() { var input = Input.ReadLines(day: 3); var map = new Map(input); return(Sloop(map, Δ: (row: 1, col: 3))); }
public static long Part2() { var input = Input.ReadLines(day: 3); var map = new Map(input); var res = 1L; res *= Sloop(map, Δ: (row: 1, col: 1)); res *= Sloop(map, Δ: (row: 1, col: 3)); res *= Sloop(map, Δ: (row: 1, col: 5)); res *= Sloop(map, Δ: (row: 1, col: 7)); res *= Sloop(map, Δ: (row: 2, col: 1)); return(res); }