Пример #1
0
        public static long Part2()
        {
            var root = AreaTraversal <Day15Cell> .Bfs(area, MazeGenerator.OxygenSystemPosition, c => c == Day15Cell.Open);

            return(AreaTraversal <Day15Cell> .MaxDepth(root) - 1);
        }