Update dp_solver.cpp #1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue