Problem1204--【入门】有趣的数字图形I

1204: 【入门】有趣的数字图形I

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

Description

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

Input

一个整数n

Output

n*n的方阵

Sample Input

4

Sample Output

    1    2    3    4
         1    2    3
              1    2
                   1

Source/Category


[Submit] [Status]