C++ , faster than 100.00%
\nclass Solution {\npublic:\n    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& image) {\n        int n  = image.size();\n        for(int i = 0 ; i
```\nclass Solution {\npublic:\n    vector<vector<int>> flipAndInvertImage(vector<vector<int>>& image) {\n        int n  = image.size();\n        for(int i = 0 ; i < n ;i ++)\n        {\n            reverse(image[i].begin(),image[i].end());\n            for(int j = 0 ; j < image[i].size() ; j ++)\n                image[i][j] ^= 1;\n        }\n        return image;\n    }\n};\n```
['C', 'C++']