#6123. 练63.3 迂回方阵
练63.3 迂回方阵
Description
输入整数,输出相应方阵。
Input Format
输入一个整数 ,。
Output Format
一个方阵,每个数字的场宽为。
5
17 18 19 20 21
10 11 12 13 22
5 6 7 14 23
2 3 8 15 24
1 4 9 16 25
输入整数N,输出相应方阵。
输入一个整数 n ,1≤n≤18。
一个方阵,每个数字的场宽为4。
5
17 18 19 20 21
10 11 12 13 22
5 6 7 14 23
2 3 8 15 24
1 4 9 16 25
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.