Exemplo n.º 1
0
        static void Main(string[] args)
        {
            while (true)
            {
                Console.WriteLine("*******************");
                Console.WriteLine("Advent of Code 2021");
                Console.WriteLine("*******************");
                Console.WriteLine();
                Console.Write("Run day: ");
                int dayToRun = int.Parse(Console.ReadLine());

                switch (dayToRun)
                {
                case 1:
                    Day01.Run();
                    break;

                case 2:
                    Day02.Run();
                    break;

                case 3:
                    Day03.Run();
                    break;

                case 4:
                    Day04.Run();
                    break;

                case 5:
                    Day05.Run();
                    break;

                case 6:
                    Day06.Run();
                    break;

                case 7:
                    Day07.Run();
                    break;

                case 8:
                    Day08.Run();
                    break;

                case 9:
                    Day09.Run();
                    break;

                case 10:
                    Day10.Run();
                    break;

                case 11:
                    Day11.Run();
                    break;

                case 12:
                    Day12.Run();
                    break;

                case 13:
                    Day13.Run();
                    break;

                case 14:
                    Day14.Run();
                    break;

                case 15:
                    Day15.Run();
                    break;

                case 16:
                    Day16.Run();
                    break;

                case 17:
                    Day17.Run();
                    break;

                case 18:
                    Day18.Run();
                    break;

                case 19:
                    Day19.Run();
                    break;

                case 20:
                    Day20.Run();
                    break;

                case 21:
                    Day21.Run();
                    break;

                case 22:
                    Day22.Run();
                    break;

                case 23:
                    Day23.Run();
                    break;

                case 24:
                    Day24.Run();
                    break;

                case 25:
                    Day25.Run();
                    break;
                }
                Console.WriteLine();
            }
        }
Exemplo n.º 2
0
        public static void Main(string[] args)
        {
            Logger.ShowDebug = false;

            Leaderboard.Start();

            Day01.StartA();
            Day01.StartB();

            Day02.StartA();
            Day02.StartB();

            Day03.StartA();
            Day03.StartB();

            Day04.StartA();
            Day04.StartB();

            Day05.StartA();
            Day05.StartB();

            Day06.StartA();
            Day06.StartB();

            Day07.StartA();
            Day07.StartA2();
            Day07.StartB();
            Day07.StartB2();
            Day07.StartB3();

            Day08.StartA();
            Day08.StartB();

            Day09.StartA();
            Day09.StartB();

            Day10.StartA();
            Day10.StartB();

            Day11.StartA();
            Day11.StartB();

            Day12.StartA();
            Day12.StartB();

            Day13.Start();

            Day14.StartA();
            Day14.StartB();

            Day15.StartA();
            Day15.StartB();

            Day16.Start();

            Day17.Start();

            Day18.StartTest();
            Day18.StartA();
            Day18.StartA2();
            Day18.StartB();
            Day18.StartB2();

            Day19.Start();

            Day20.Start();

            Day21.StartA();
            Day21.StartB();

            Day22.StartA();
            Day22.StartB();

            Day23.StartA();
            Day23.StartB();

            Day24.Start();

            Day25.Start();

            Logger.ShowDebug = true;

            Console.ReadKey();
        }
Exemplo n.º 3
0
 static void Main(string[] args)
 {
     Day01.Puzzle();
     Console.ReadKey();
 }