2223410945-ics@ics-arm:~/optim$ make grade ./grader =============== Test 1: Measuring poly() ====================== Measured CPE of poly(): 6.999895 Score: 25/25 =============== Test 2: Correctness =========================== poly(): 21885.223786415954 poly_optim(): 21885.223786416071 Score: 25/25 =============== Test 3: Optimization ========================== CPE of poly_optim(): 0.916737 Score: 25/25 =============== Test 4: Measuring poly_optim() ================ Measured CPE of poly_optim(): 0.938173 Score: 25/25 =============================================================== Total score: 100/100 2223410945-ics@ics-arm:~/optim$ ./grader >> test.txt 2223410945-ics@ics-arm:~/optim$ make grade ./grader =============== Test 1: Measuring poly() ====================== Measured CPE of poly(): 7.001429 Score: 25/25 =============== Test 2: Correctness =========================== poly(): 24068.382951962380 poly_optim(): 24068.382951962463 Score: 25/25 =============== Test 3: Optimization ========================== CPE of poly_optim(): 0.917372 Score: 25/25 =============== Test 4: Measuring poly_optim() ================ Measured CPE of poly_optim(): 0.949616 Score: 25/25 =============================================================== Total score: 100/100 2223410945-ics@ics-arm:~/optim$ ./grader >> test.txt 2223410945-ics@ics-arm:~/optim$ make grade ./grader =============== Test 1: Measuring poly() ====================== Measured CPE of poly(): 7.000240 Score: 25/25 =============== Test 2: Correctness =========================== poly(): 26561.290528358859 poly_optim(): 26561.290528358877 Score: 25/25 =============== Test 3: Optimization ========================== CPE of poly_optim(): 0.917086 Score: 25/25 =============== Test 4: Measuring poly_optim() ================ Measured CPE of poly_optim(): 0.931908 Score: 25/25 =============================================================== Total score: 100/100 2223410945-ics@ics-arm:~/optim$ ./grader >> test.txt 2223410945-ics@ics-arm:~/optim$ make grade ./grader =============== Test 1: Measuring poly() ====================== Measured CPE of poly(): 6.999018 Score: 25/25 =============== Test 2: Correctness =========================== poly(): 21135.302981062388 poly_optim(): 21135.302981062381 Score: 25/25 =============== Test 3: Optimization ========================== CPE of poly_optim(): 0.916174 Score: 25/25 =============== Test 4: Measuring poly_optim() ================ Measured CPE of poly_optim(): 0.955398 Score: 25/25 =============================================================== Total score: 100/100 2223410945-ics@ics-arm:~/optim$ ./grader >> test.txt 2223410945-ics@ics-arm:~/optim$ make grade gcc main.c poly.c measure_time_std.o -o grader -O2 ./grader =============== Test 1: Measuring poly() ====================== Measured CPE of poly(): 7.000142 Score: 25/25 =============== Test 2: Correctness =========================== poly(): 17311.481661805909 poly_optim(): 17311.481661805978 Score: 25/25 =============== Test 3: Optimization ========================== CPE of poly_optim(): 0.921194 Score: 25/25 =============== Test 4: Measuring poly_optim() ================ Measured CPE of poly_optim(): 0.962709 Score: 25/25 =============================================================== Total score: 100/100 2223410945-ics@ics-arm:~/optim$ ./grader >> test.txt 2223410945-ics@ics-arm:~/optim$