aboutsummaryrefslogtreecommitdiff
path: root/num_dice_roll_target_sum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'num_dice_roll_target_sum.cpp')
-rw-r--r--num_dice_roll_target_sum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/num_dice_roll_target_sum.cpp b/num_dice_roll_target_sum.cpp
index 3fd3672..abb7596 100644
--- a/num_dice_roll_target_sum.cpp
+++ b/num_dice_roll_target_sum.cpp
@@ -4,7 +4,7 @@ class Solution {
public:
int numRollsToTarget(int n, int k, int target) {
int mod = 1000000007;
- vvd(int) dp(n + 1, vector<int>(target + 1, 0));
+ vvd dp(n + 1, vector<int>(target + 1, 0));
dp[0][0] = 1;
for (int i = 1; i <= n; i++)
for (int j = 1; j <= target; j++)