Пример #1
0
        static void Main(string[] args)
        {
            prison jail = new prison();

            var test = jail.JailBreak(new[] {0, 1, 2, 3, 3, 2, 6, 6,8,7}, new[] {1, 2, 3, 4, 5, 6, 8, 7,7,9}, new[] {1, 6});
            Console.WriteLine(test);
        }
Пример #2
0
        static void Main(string[] args)
        {
            prison jail = new prison();

            var test = jail.JailBreak(new[] {0, 1, 2, 3, 3, 2, 6, 6,8,7}, new[] {1, 2, 3, 4, 5, 6, 8, 7,7,9}, new[] {1, 6});
            Console.WriteLine(test);
        }