Day6. Namespace style
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
namespace _566._Reshape_the_Matrix
|
||||
namespace _566._Reshape_the_Matrix;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
internal class Program
|
||||
static void Main(string[] args)
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
var res = new Solution().MatrixReshape(new int[][] { new int[] { 1, 2 }, new int[] { 4, 5 } }, 2, 4);
|
||||
foreach (var row in res)
|
||||
Console.WriteLine(String.Join(" ", row));
|
||||
}
|
||||
var res = new Solution().MatrixReshape(new int[][] { new int[] { 1, 2 }, new int[] { 4, 5 } }, 2, 4);
|
||||
foreach (var row in res)
|
||||
Console.WriteLine(String.Join(" ", row));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user