예제 #1
0
 static void Main(string[] args)
 {
     IncrementingSequence x = new IncrementingSequence();
     int[] a = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2 };
     Console.WriteLine(x.canItBeDone(2, a));
     Console.ReadLine();
 }
예제 #2
0
        static void Main(string[] args)
        {
            IncrementingSequence x = new IncrementingSequence();

            int[] a = { 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2 };
            Console.WriteLine(x.canItBeDone(2, a));
            Console.ReadLine();
        }