Changes
1 changed files (+1/-1)
-
-
@@ -16,7 +16,7 @@ // Change these values to alter the initial statell 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
-