comefrom: <doocs>0377.Combination Sum IV_1.py
code: def combinationSum4( nums: List[int], target: int) -> int:
      dp = [0] * (target + 1)
      dp[0] = 1
      for i in range(1, target + 1):
          for num in nums:
              if i >= num:
                  dp[i] += dp[i - num]
      return dp[-1]
masked: def sample_funcname ( var_0 : List [ int ] , var_3 : int ) -> int :
      var_6 = [ 0 ] * ( var_3 + 1 )
      var_6 [ 0 ] = 1
      for var_8 in range ( 1 , var_3 + 1 ) :
          for var_9 in var_0 :
              if var_8 >= var_9 :
                  var_6 [ var_8 ] += var_6 [ var_8 - var_9 ]
      return var_6 [ - 1 ]
  