From a28936f15ca82fd287cf762479bb6cfe2db94609 Mon Sep 17 00:00:00 2001 From: Adam Blank <blank@caltech.edu> Date: Sat, 26 Oct 2019 08:57:11 -0700 Subject: [PATCH] Updates --- config.h | 2 +- mdriver.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 2581b5c..434c152 100644 --- a/config.h +++ b/config.h @@ -45,7 +45,7 @@ * Students can get more points for building faster allocators, up to * this point (in ops / sec) */ -#define MAX_SPEED 42000E3 +#define MAX_SPEED 40000E3 /* * Students get 0 points for this allocation fraction or below diff --git a/mdriver.c b/mdriver.c index b48aa3c..c471fff 100644 --- a/mdriver.c +++ b/mdriver.c @@ -429,8 +429,9 @@ int main(int argc, char **argv) p2*100, perfindex); - const double BUMP = 30; - double perfscore = perfindex - BUMP; + const double BUMP = 40; + const double SCALE = 1; + double perfscore = perfindex - BUMP + SCALE; if (perfscore <= 0) { perfscore = 0; } -- GitLab