diff options
author | Ta180m | 2019-05-07 13:07:05 -0500 |
---|---|---|
committer | GitHub | 2019-05-07 13:07:05 -0500 |
commit | 17f6fc4372eb74761c95d25d8bbcb60d5b5fc865 (patch) | |
tree | 1a99ca293347eaf36326fc2b943350868574f09a | |
parent | a7e8e5b4fcada45e497706e314e5f890630d71af (diff) |
Update dp_solver.cpp
-rw-r--r-- | dp_solver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dp_solver.cpp b/dp_solver.cpp index c627e0d..59b9d88 100644 --- a/dp_solver.cpp +++ b/dp_solver.cpp @@ -12,10 +12,11 @@ typedef long long ll; // Developed by Ta180m // Initial conditions +// Change these values to alter the initial state ll start = 0, goal = 1e10; int max_it = 150; // Number of iterations to solve int MPQ = 0, SB = 0, M = 0; // Initial upgrade status -int D, R, B1, B2; // Initial power-up status +int D = 0, R = 0, B1 = 0, B2 = 0; // Initial power-up status // Initial state int s = 3600 * MPQ + 360 * SB + 36 * M + 18 * D + 9 * R + 3 * B1 + B2; |