Beispiel #1
0
        static void Main(string[] args)
        {
            Day20 day20 = new Day20();

            day20.Part1();
            day20.Part2();

            Console.Write("Press Enter to continue...");
            Console.ReadLine();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Day20 d = new Day20();

            d.Solve(Util.Puzzle.Both);
        }
Beispiel #3
0
        public async Task Star1()
        {
            var lines = await ReadUtils.ReadAllLines("./Day20Part1Input.txt").ConfigureAwait(false);

            Assert.Equal(17032646100079, Day20.Star1(lines));
        }
Beispiel #4
0
        public async Task Test1()
        {
            var lines = await ReadUtils.ReadAllLines("./Day20Part1Test1.txt").ConfigureAwait(false);

            Assert.Equal(20899048083289, Day20.Star1(lines));
        }