Esempio n. 1
0
        public static void Main(string[] args)
        {
            var stopwatch = new Stopwatch();

            stopwatch.Start();

            //var day1 = new Day1();
            //var day2 = new Day2();
            //var day3 = new Day3();
            //var day4 = new Day4();
            //var day5 = new Day5();
            //var day6 = new Day6();
            var day7 = new Day7();

            //day1.Run();
            //day2.Run();
            //day3.Run();
            //day4.Run();
            //day5.Run();
            //day6.Run();
            day7.Run();

            stopwatch.Stop();

            Console.WriteLine($"Finished running in {stopwatch.ElapsedMilliseconds} ms");
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Helper.PrintChallenge("Day 1");
            Day1.Run();

            Helper.PrintChallenge("Day 2");
            Day2.Run();

            Helper.PrintChallenge("Day 3");
            Day3.Run();

            Helper.PrintChallenge("Day 4");
            Day4.Run();

            Helper.PrintChallenge("Day 5");
            Day5.Run();

            Helper.PrintChallenge("Day 6");
            Day6.Run();

            Helper.PrintChallenge("Day 7");
            Day7.Run();

            Helper.PrintChallenge("Day 8");
            Day8.Run();

            Helper.PrintChallenge("Day 9");
            Day9.Run();

            Helper.PrintChallenge("Day 10");
            Day10.Run();

            Helper.PrintChallenge("Day 11");
            Day11.Run();

            Helper.PrintChallenge("Day 12");
            Day12.Run();

            Helper.PrintChallenge("Day 13");
            Day13.Run();

            Helper.PrintChallenge("Day 14");
            Day14.Run();

            Helper.PrintChallenge("Day 15");
            Day15.Run();

            Helper.PrintChallenge("Day 16");
            Day16.Run();

            Helper.PrintChallenge("Day 17");
            Day17.Run();
        }
Esempio n. 3
0
 static string RunDay7()
 {
     return(Day7.Run(GetInput(7)).ToString());
 }