using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace p15
{
class Program
{
static void Main(string[] args)
{
StreamReader fin = new StreamReader("date.in");
StreamWriter fout = new StreamWriter("date.out");
int n = int.Parse(fin.ReadLine());
int[,] a = new int[n, n];
for (int i = 0; i < n; i++)
{
string linie = fin.ReadLine();
string[] s = linie.Split();
for (int j = 0; j < n; j++)
a[i, j] = int.Parse(s[j]);
}
for (int i = n-1; i >=0 ; i--)
{
for (int j = n-1; j >=0; j--)
fout.Write(a[i, j] + " ");
fout.WriteLine();
}
fin.Close();
fout.Close();
Console.ReadKey();
}
}
}
|