标签:code amp rev ppi tor for image ever flip
1 class Solution 2 { 3 public: 4 vector<vector<int>> flipAndInvertImage(vector<vector<int>>& A) 5 { 6 for(vector<int> &vi:A) 7 { 8 for(int &i:vi) 9 i^=1; 10 reverse(vi.begin(),vi.end()); 11 } 12 return A; 13 } 14 };
标签:code amp rev ppi tor for image ever flip
原文地址:https://www.cnblogs.com/zhuangbijingdeboke/p/9192104.html