摘要:
public class SpiralArray { public static int[][] generateSpiralArray(final int x, final int y) { int[][] blanks = new int[x][y]; int direct = 0; int num = 0; int posX = 0, posY = -1; int widthlen = y; int heightlen = x; int xTimes = heightlen; ... 阅读全文
posted @ 2013-07-26 12:38 钟悍 阅读(288) 评论(0) 推荐(0) 编辑