第一题 govar dfs func(idx int, left int, count int)dfs = func(idx int, left int, count int) {if left ans++return}if count == 0 && left > 0 {return}if idx >= n {return}dfs(idx+1, left, count)dfs(idx+1, left-arr[idx], count-1)}