using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace p11
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int[][] a = new int[n][];
for (int i = 0; i < n; i++)
{
string linie = Console.ReadLine().Trim();
string[] s = linie.Split();
a[i]=new int[s.Length];
for (int j = 0; j < s.Length; j++)
a[i][j] =int.Parse(s[j]);
}
for (int i = 0; i < n; i++)
{
for (int j = 0; j < a[i].Length; j++)
Console.Write(a[i][j] + " ");
Console.WriteLine();
}
Console.ReadKey();
}
}
}
|