Skip to content

Commit 33fa752

Browse files
authored
Update combination-sum-iv.cpp
1 parent 7b5c910 commit 33fa752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/combination-sum-iv.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class Solution {
55
public:
66
int combinationSum4(vector<int>& nums, int target) {
7-
vector<int> dp(target + 1, 0);
7+
vector<uint32_t> dp(target + 1, 0);
88
dp[0] = 1;
99
sort(nums.begin(), nums.end());
1010

0 commit comments

Comments
 (0)