1857: [二维数组]回形矩阵

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

Description

构成一个n行n列的回形矩阵,规律详见样例

Sample Input Copy

5

Sample Output Copy

(每个数占5个字符)

1  1  1  1  1

1  2  2  2  1

1  2  3  2  1

1  2  2  2  1

1  1  1  1  1

Source/Category