diff options
author | Anthony Wang | 2022-04-29 12:12:22 -0500 |
---|---|---|
committer | GitHub | 2022-04-29 12:12:22 -0500 |
commit | 27d0b65c380c6c0869139db230ebe406f27e43f6 (patch) | |
tree | 5b4e38eb4f8a364925a27e63ea45f734705ff8b0 | |
parent | d3dfb914ff5b9ef41d4d6be8cc00dcd5a81044f7 (diff) | |
parent | c5510990f72abdb528821a4420d1e64b39adba5d (diff) |
Update dp_solver.cpp
-rw-r--r-- | dp_solver.cpp | 2 |
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 |