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

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

Description

读入一个整数 lns="http://www.w3.org/1998/Math/MathML">n ,输出一个 lns="http://www.w3.org/1998/Math/MathML">n×n 的方阵。 对角线是 lns="http://www.w3.org/1998/Math/MathML">1 ,对角线向右上逐渐递增,左下为空格,每个数场宽为 lns="http://www.w3.org/1998/Math/MathML">5 

Input

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

Output

n×n 的方阵。

Sample Input Copy

4

Sample Output Copy

    1    2    3    4
         1    2    3
              1    2
                   1