예제 #1
0
        public override int Part1()
        {
            Init();
            int prev;

            do
            {
                prev = area.CountOccupied();
                area.Run();
                // Console.WriteLine(area.ToString());
            } while (area.CountOccupied() != prev);
            return(prev);
        }