From 17f6fc4372eb74761c95d25d8bbcb60d5b5fc865 Mon Sep 17 00:00:00 2001 From: Ta180m Date: Tue, 7 May 2019 13:07:05 -0500 Subject: Update dp_solver.cpp --- dp_solver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2