CS253: Software Development with C++

Fall 2019

HW 8

CS253 HW8

Description

Like HW7, but with the addition of a race.                 

You can think of this as a chance to correct any mistakes that you made with HW7. If your program is perfect, but slow, you get the full four points. Fast programs can earn some extra points:                 

The extra points do not build; you only get, at most, one of the three awards.                 

Your program must be absolutely perfect to even participate in the speed competition. That is, it must produce perfect output for the given input, and it must not break any of the other rules (no warnings, no memory leaks, no decimal ASCII constants, etc.). It’s easy to write a fast program if it fails to meet the specification!                 

Speed Test

Debugging

If you encounter “STACK FRAME LINK OVERFLOW”, then try this:

    export STACK_FRAME_LINK_OVERRIDE=ffff-ad921d60486366258809553a3db49a4a

Requirements

Same as HW7, except that the library is called libhw8.a.                 

How to submit your homework:

    ~cs253/bin/checkin HW8 hw8.tar

How to receive negative points:

Turn in someone else’s work.