Trong vòng for thứ nhất thì kiểu dữ kiệu của i là gì ạ???
class Solution {
public:
    int oddCells(int n, int m, vector<vector<int>>& indices) {
        int oddcount = 0;
        vector<int> row(n, 0);
        vector<int> col(m, 0);
        // keep a count of row and col increment
        for(auto i : indices){
            row[i[0]]++;
            col[i[1]]++;
        }
        for(int i = 0; i < n; i++){
            for(int j = 0; j < m; j++){
                // bit condition to check for odd number
                if((row[i] + col[j]) & 1)
                    oddcount++;
            }
        }
        return oddcount;
    }
};
        
      
    
 ?
    83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?