Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var solver = new Day25();

            solver.SolveAndPrintOne();
            solver.SolveAndPrintTwo();
            Console.ReadKey();
        }
Ejemplo n.º 2
0
        public static void Main()
        {
            var solution = new Day25();

            Stopwatch sw  = Stopwatch.StartNew();
            var       res = solution.RunSilver();

            sw.Stop();
            Console.WriteLine($"Part 1: {res} | Executed in {sw.ElapsedMilliseconds}ms");

            sw = Stopwatch.StartNew();
            var res2 = solution.RunGold();

            sw.Stop();
            Console.WriteLine($"Part 2: {res2} | Executed in {sw.ElapsedMilliseconds}ms");
        }