Problem2576--【入门】有趣的数字图形III

2576: 【入门】有趣的数字图形III

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

读入一个整数n(n<100),输出一个n*n的方阵。 对角线是1,对角线向右下逐渐递增,左上为空格,每个数场宽为5。

Input

一个整数n

Output

n*n的方阵

Sample Input Copy

4

Sample Output Copy

                   1
              1    2
         1    2    3
    1    2    3    4

Source/Category