2342: 【基础】螺旋方阵
Memory Limit:16 MB
Time Limit:1.000 S
Submit数:3
Solved数:3
Description
螺旋方阵
Input描述
一个整数n(0<n<10)
Output描述
一个n行方阵,每行n个数,每个数场宽为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
Source/Category
⋮