public static void Main() { var grid = new FuelGrid(new Size(300, 300), 2694); Part1(grid); Part2(grid); }
public static void Part2(FuelGrid grid) { (Point coordinate, int squareSize) = grid.GetHighestPowerSquare(null); Console.WriteLine($"Top-left coordinate for highest power square ({squareSize}x{squareSize}) is {coordinate.X},{coordinate.Y}"); }