Exemple #1
0
        static void Main()
        {
            var day22 = new CrabCombat();

            Console.WriteLine(day22.problem1());
            Console.WriteLine(day22.problem2());

            //var day10 = new AdapterArray();
            //Console.WriteLine(day10.problem1());
            //Console.WriteLine(day10.problem2());

            //var day9 = new EncodingError();
            //var day9Problem1 = day9.problem1();
            //Console.WriteLine(day9Problem1);
            //var day9Problem2 = day9.problem2();
            //Console.WriteLine(day9Problem2);

            //var day8 = new HandheldHalting();
            //var day8Problem1 = day8.problem1();
            //Console.WriteLine(day8Problem1);
            //var day8Problem2 = day8.problem2();
            //Console.WriteLine(day8Problem2);

            //var day7 = new HandyHaversacks();
            //var day7Problem1 = day7.problem1();
            //Console.WriteLine(day7Problem1);

            //var day6 = new CustomCustoms();
            //var day6Problem1 = day6.problem1();
            //Console.WriteLine(day6Problem1);
            //var day6Problem2 = day6.problem2();
            //Console.WriteLine(day6Problem2);

            //var day5 = new BinaryBoarding();
            //var day5Problem1 = day5.problem1();
            //Console.WriteLine(day5Problem1);
            //var day5Problem2 = day5.problem2();
            //Console.WriteLine(day5Problem2);

            //var day4 = new PassportProcessing();
            //var day4Problem1 = day4.problem1();
            //Console.WriteLine(day4Problem1);
            //var day4Problem2 = day4.problem2();
            //Console.WriteLine(day4Problem2);

            //var day3 = new TobogganTrajectory();
            //var day3Problem1 = day3.Problem1();
            //Console.WriteLine(day3Problem1);
            //var day3Problem2 = day3.Problem2();
            //Console.WriteLine(day3Problem2);

            //var day2 = new PasswordChecker();
            //var day2Problem1 = day2.checkLotsOfPasswords("first");
            //Console.WriteLine(day2Problem1);
            //var day2Problem2 = day2.checkLotsOfPasswords("second");
            //Console.WriteLine(day2Problem2);

            //var day1 = new ReportRepair();
            //var day1Problem1 = day1.Problem1();
            //Console.WriteLine(day1Problem1);
            //var day1Problem2 = day1.Problem2();
            //Console.WriteLine(day1Problem2);
        }