Files
Leetcode/542. 01 Matrix/Program.cs
2022-10-18 00:45:31 +03:00

16 lines
429 B
C#

namespace _542._01_Matrix;
internal class Program
{
static void Main(string[] args)
{
int[][] mat = new int[][] { new int[] { 0,0,0, },
new int[] { 0,1,0, },
new int[] { 1,1,1, },
};
var res = new Solution().UpdateMatrix(mat);
foreach(var row in res)
Console.WriteLine(String.Join(" ", row));
}
}