Beispiel #1
0
        private static int Test1(List <List <char> > input)
        {
            var processor = new SeatLayout(input);

            while (processor.Start(4))
            {
            }
            return(processor.GetOccupiedCount());
        }
Beispiel #2
0
        private static int Test2(List <List <char> > input)
        {
            var processor = new SeatLayout(input);

            while (processor.Start(5))
            {
                var output = processor.GetState();
                Console.WriteLine(output);
                Console.WriteLine();
            }
            return(processor.GetOccupiedCount());
        }