Docoding OJ
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
Login
Register
3244: 基础图案9
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:105
Solved:40
Submit
Submit Record
Statistics
ShowOff!
Description
输入N,打印相应图案
Input
一行:整数N(0<N<=20)
Output
N行,每个数占四个字符位
Sample Input
Copy
5
Sample Output
Copy
1 2 6 7 15 3 5 8 14 4 9 13 10 12 11
Source/Category
循环-打印图案
双重循环
二维矩阵
蛇形
Submit
Submit Record
Statistics
ShowOff!