Example #1
0
        static void Main(string[] args)
        {
            Day07 day07 = new Day07();

            day07.Part1();
            day07.Part2();

            Console.Write("Press Enter to continue...");
            Console.ReadLine();
        }
Example #2
0
        static void Main(string[] args)
        {
            var data = File.ReadAllText("Input/part1.txt")
                       .Split(new string[] { "\r\n", "\n" }, StringSplitOptions.None)
                       .Select(t => t).ToList();
            var today = new Day07(data);

            Console.Write("Part 1: ");
            Console.WriteLine(today.ComputePart1());
            Console.Write("Part 2: ");
            Console.WriteLine(today.ComputePart2());
        }
Example #3
0
        static void Main(string[] args)
        {
            Day07 d7 = new Day07();

            d7.Solve();
        }