comefrom: <doocs>1252.Cells with Odd Values in a Matrix_1.py
code: def oddCells( m: int, n: int, indices: List[List[int]]) -> int:
      row = [0] * m
      col = [0] * n
      for r, c in indices:
          row[r] += 1
          col[c] += 1
      return sum((i + j) % 2 for i in row for j in col)
masked: def sample_funcname ( var_0 : int , var_1 : int , var_2 : List [ List [ int ] ] ) -> int :
      var_3 = [ 0 ] * var_0
      var_4 = [ 0 ] * var_1
      for var_5 , var_6 in var_2 :
          var_3 [ var_5 ] += 1
          var_4 [ var_6 ] += 1
      return sum ( ( var_7 + var_8 ) % 2 for var_7 in var_3 for var_8 in var_4 )
  