comefrom: <doocs>2249.Count Lattice Points Inside a Circle_1.py
code: def countLatticePoints( circles: List[List[int]]) -> int:
      ans = 0
      imx = max(x + r for x, _, r in circles)
      jmx = max(y + r for _, y, r in circles)
      for i in range(imx + 1):
          for j in range(jmx + 1):
              for x, y, r in circles:
                  x, y = x - i, y - j
                  if x * x + y * y <= r * r:
                      ans += 1
                      break
      return ans
masked: def sample_funcname ( var_0 : List [ List [ int ] ] ) -> int :
      var_4 = 0
      var_9 = max ( var_6 + var_7 for var_6 , var_8 , var_7 in var_0 )
      var_11 = max ( var_10 + var_7 for var_8 , var_10 , var_7 in var_0 )
      for var_14 in range ( var_9 + 1 ) :
          for var_15 in range ( var_11 + 1 ) :
              for var_6 , var_10 , var_7 in var_0 :
                  var_6 , var_10 = var_6 - var_14 , var_10 - var_15
                  if var_6 * var_6 + var_10 * var_10 <= var_7 * var_7 :
                      var_4 += 1
                      break
      return var_4
  