Exemple #1
0
        static void Main(string[] args)
        {
            //Entry point simply wants to kick off a run. There isn't any real configuration to do.
            //So we just run each in turn, and print out the results.
            var one = new SolveOne();

            Console.WriteLine(one.Solve());

            var two = new SolveTwo();

            Console.WriteLine(two.Solve());

            var three = new SolveThree();

            Console.WriteLine(three.Solve());

            Console.Read();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            DateTime start = DateTime.Now;

            /*var one = new SolveOne();
             * var oneSolution = one.Solve();
             * Console.WriteLine(oneSolution);
             * Console.WriteLine(DateTime.Now - start);
             *
             * start = DateTime.Now;
             * var two = new SolveTwo();
             * Console.WriteLine(two.Solve());
             * Console.WriteLine(DateTime.Now - start);*/

            start = DateTime.Now;
            var three = new SolveThree();

            Console.WriteLine(three.Solve());
            Console.WriteLine(DateTime.Now - start);

            Console.Read();
        }