摘要:
for (int i = 0; i < row; i++) { Arrays.fill(isVisited[i], false); } 阅读全文
摘要:
拿到矩形的外圈 for (int i = 0; i < row; i++) { for (int j = 0; j < col; j++) { if (i == 0 || i == row - 1 || j == 0 || j == col - 1) { if (board[i][j] == 'O' 阅读全文