1903: 【CSP二维数组】有趣的数字图形▅

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

Description

输入一个整数n( lns="http://www.w3.org/1998/Math/MathML">n<10),输出 lns="http://www.w3.org/1998/Math/MathML">n  lns="http://www.w3.org/1998/Math/MathML">n 列的如下图所示的数字图形。

Input

一个整数 lns="http://www.w3.org/1998/Math/MathML">n 。( lns="http://www.w3.org/1998/Math/MathML">1<n<10 )

Output

一个方阵,每个数字的场宽为 lns="http://www.w3.org/1998/Math/MathML">5 

Sample Input Copy

4

Sample Output Copy

    1    3    8   20
    3    2    5   12
    8    5    3    7
   20   12    7    4