aboutsummaryrefslogtreecommitdiff
path: root/dp_solver.cpp
diff options
context:
space:
mode:
authorAnthony Wang2022-04-29 12:12:22 -0500
committerGitHub2022-04-29 12:12:22 -0500
commit27d0b65c380c6c0869139db230ebe406f27e43f6 (patch)
tree5b4e38eb4f8a364925a27e63ea45f734705ff8b0 /dp_solver.cpp
parentd3dfb914ff5b9ef41d4d6be8cc00dcd5a81044f7 (diff)
parentc5510990f72abdb528821a4420d1e64b39adba5d (diff)
Merge pull request #1 from BrandonBman12313/patch-1HEADmaster
Update dp_solver.cpp
Diffstat (limited to 'dp_solver.cpp')
-rw-r--r--dp_solver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dp_solver.cpp b/dp_solver.cpp
index 829714f..7c79c90 100644
--- a/dp_solver.cpp
+++ b/dp_solver.cpp
@@ -16,7 +16,7 @@ typedef long long ll;
ll start = 0, goal = 1e10; // Start and end amounts
int max_it = 150; // Number of iterations to solve
int MPQ = 0, SB = 0, M = 0; // Initial upgrade status
-int D = 0, R = 0, B1 = 0, B2 = 0; // Initial power-up status
+int D = 0, R = 1, B1 = 0, B2 = 0; // Initial power-up status
// State: Iteration, Upgrade status, Power-up status
// DP array stores maximum possible money for each state