Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Day06 day06 = new Day06();

            day06.Part1();

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

            Console.Write("Part 1: ");
            Console.WriteLine(today.ComputePart1());
            Console.Write("Part 2: ");
            Console.WriteLine(today.ComputePart2());
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            Day06 d6 = new Day06();

            d6.Solve();
        }