文章列表
/**
* 1 16 15 14 13
* 2 17 24 23 12
* 3 18 25 22 11
* 4 19 20 21 10
* 5 6 7 8 9
*/
public static void print(int n){
int[][] xy = new int[n][n];
int circle = n / 2;//圈数
int x = 0;
int y = 0;
int start = 0;
for(int i = 0; i < circle; i++){
int step ...