<qiyuangong>832_Flipping_an_Image_1.java
public int[][] flipAndInvertImage(int[][] A) {
        int C = A[0].length;
        for (int[] row: A)
            for (int i = 0; i < (C + 1) / 2; ++i) {
                int tmp = row[i] ^ 1;
                row[i] = row[C - 1 - i] ^ 1;
                row[C - 1 - i] = tmp;
            }

        return A;
    }
public int [ ] [ ] sample_funcname ( int [ ] [ ] var_0 ) {
  int var_3 = var_0 [ 0 ] . length ;
  for ( int [ ] var_4 : var_0 ) for ( int var_5 = 0 ;
  var_5 < ( var_3 + 1 ) / 2 ;
  ++ var_5 ) {
    int var_8 = var_4 [ var_5 ] ^ 1 ;
    var_4 [ var_5 ] = var_4 [ var_3 - 1 - var_5 ] ^ 1 ;
    var_4 [ var_3 - 1 - var_5 ] = var_8 ;
  }
  return var_0 ;
}
