按照题意模拟即可 public class Solution { public int[][] flipChess (int[][] A, int[][] f) { int[] dx = {-1,0,1,0},dy = {0,1,0,-1};  ...