commit f1d8a51605d038664d3c98094bfb3866d864c776
parent bd57d2405d76668fa33e74c00ebe4f196d4337e0
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 28 Mar 2015 14:20:43 +0100
fix
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/contest/a3nm/main.cpp b/contest/a3nm/main.cpp
@@ -236,9 +236,8 @@ int main(int argc, char **argv) {
totscore += planify(br);
printf("i replanified %d\n", br);
simulate(br, &decide_dyn);
- printf("score was %d is %d\n", prevscore, totscore);
if (totscore > prevscore) {
- printf("score %d\n", totscore);
+ printf("score was %d is %d\n", prevscore, totscore);
print_sol(totscore);
}
}