[letcode] 832 Flipping an Image
vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) { for (auto & row : A) reverse(row.begin(), row.end()); for (auto & row : A) for (int & i: row) i^=1; return A; }
vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) { for (auto & row : A) reverse(row.begin(), row.end()); for (auto & row : A) for (int & i: row) i^=1; return A; }