예제 #1
0
        static void Main(string[] args)
        {
            var solution = new SolutionCodibility();
            var A        = BigArray(10000000);

            var expected = new[] { 3, 2, 2, 4, 2 };
            var actual   = solution.solution(A.Length - 1, A);

//            var message = string.Format("\n\nExpected:\t{0}\nActual:\t\t{1}",
//                            ArrayToString(expected),
//                            ArrayToString(actual));

            var message = "Done!";

            Console.WriteLine(message);
            Console.ReadLine();
        }
        public void Setup()
        {
            m_A = new[] { 3, 4, 4, 6, 1, 4, 4 };

            m_Solution = new SolutionCodibility();
        }