class Solution{ public: int numSpecial(vector> &mat){ int ans = 0; int r = mat.size(); int c = mat[0].size(); for(int row=0;row