diff --git a/config.h b/config.h index 2581b5c6dccf08362564cd870c7228518464832c..434c152f35497cf100ddc0c3a146f7890c6446cc 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 b48aa3cd949eaf919abfc6e51f21a47a824babe3..c471fffa35c4ba215fa2883010f18c0a5a9986d8 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; }