comefrom: <doocs>2348.Number of Zero-Filled Subarrays_1.py
code: def zeroFilledSubarray( nums: List[int]) -> int:
      ans = 0
      cnt = 0
      for v in nums:
          if v == 0:
              cnt += 1
          else:
              ans += (1 + cnt) * cnt // 2
              cnt = 0
      ans += (1 + cnt) * cnt // 2
      return ans
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_4 = 0
      var_5 = 0
      for var_6 in var_0 :
          if var_6 == 0 :
              var_5 += 1
          else :
              var_4 += ( 1 + var_5 ) * var_5 // 2
              var_5 = 0
      var_4 += ( 1 + var_5 ) * var_5 // 2
      return var_4
  