1901: 【CSP二维数组】有趣的数字图形I▅
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:1
Description
读入一个整数 n ,输出一个 n×n 的方阵。 对角线是 1 ,对角线向右上逐渐递增,左下为空格,每个数场宽为 5 。
Input
一个整数 n 。( n<10 )
Output
n×n 的方阵。
Sample Input Copy
4
Sample Output Copy
1 2 3 4
1 2 3
1 2
1