My Easy 5 Lines C++ Solution
```\nclass Solution {\npublic:\n    vector> flipAndInvertImage(vector>& A) {\n\tvector> res(A.size());\n\tfor (int i = 0; i < A.size(); ++i) {\n\t    for (int j
```\nclass Solution {\npublic:\n    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) {\n\tvector<vector<int>> res(A.size());\n\tfor (int i = 0; i < A.size(); ++i) {\n\t    for (int j = A[i].size() - 1; j >= 0; --j) {\n\t\tres[i].push_back(!A[i][j]);\n\t    }\n\t}\n\treturn res;\n    }\n};
[]