Problem K: 【二维数组】螺旋方阵
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:115
Solved:80
Description
输入整数N,输出相应方阵。
Input
一个整数N。(n不超过100)
Output
一个方阵,每个数字的场宽为3。
Sample Input Copy
5
Sample Output Copy
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9