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

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

Time Limit: 1.000 Sec  Memory Limit: 16 MB
Submit: 19  Solved: 18
[Submit] [Status] [Web Board] [Creator:][下载测试数据]

Description

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

Input

一个整数n

Output

n*n的方阵

Sample Input

4

Sample Output

                   1
              1    2
         1    2    3
    1    2    3    4

Source/Category


[Submit] [Status]