fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int[,] a = new int[5,4] { {1, 1, 1, 0}, {-2, -3, 2, 1}, {2, -5, 0, -1}, {-3, 4, 6, 2}, {-6, 6, 3, 4} };
  8. for(int y=0;y<a.GetLength(0);++y,Console.WriteLine()) for(int x=0;x<a.GetLength(1);++x) Console.Write(" {0}",a[y,x]);
  9. }
  10. }
Success #stdin #stdout 0.04s 23952KB
stdin
Standard input is empty
stdout
 1 1 1 0
 -2 -3 2 1
 2 -5 0 -1
 -3 4 6 2
 -6 6 3 4