曹文信息在线OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
1856: [二维数组]螺旋矩阵
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:105
Solved:3
Submit
Submit Record
Statistics
Web Board
ShowOff!
Description
输入N,输出螺旋矩阵(n<10)
Input
输入共一行, n(表示矩阵的规模)
Output
矩阵形式
Sample Input
Copy
4
Sample Output
Copy
(场宽为5) 1 2 3 4 12 13 14 5 11 16 15 6 10 9 8 7
Source/Category
中级B