Пример #1
0
        static void Main(string[] args)
        {
            //var b1 = Board.ReadIn(@"sample.txt");
            //var b1 = Board.ReadInString("008450371020097560503800492300705849280030056745609003837006904012970030956043100");
            //var b1 = Board.ReadInString("..845.371.2..9756.5.38..4923..7.584928..3..567456.9..3837..69.4.1297..3.956.431..");
            var b1     = Board.ReadInString("  845 371 2  9756 5 38  4923  7 584928  3  567456 9  3837  69 4 1297  3 956 431  ");
            var board1 = new Board(b1);

            board1.PrintOut2();
            Console.Out.WriteLine("going to solve now");
            Console.Out.WriteLine("\n\n");
            board1.Solve();
            Console.Read();
        }