1113: 回转矩阵

Memory Limit:128 MB Time Limit:1.000 S Judge Style:Text Compare Creator:
Submit:230 Solved:154

Description

输出一个N*N回转矩阵,具体可见样例

不允许普通用户打印题目,请教师登录后使用。如有疑问请联系管理员!

Input

一个数字N,表示矩阵的边长(1<n<10)

Output

一个N*N的回转矩阵

Sample Input Copy

4

Sample Output Copy

1 2 3 4
12 13 14 5
11 16 15 6
10 9 8 7