Space Emergency is a nice little puzzle from Google Code Jam 2011.
The solution is quite simple. Fly as long as the boosters are built. Once they are done, reorder your remaining distance. Use the boosters on longest distances. Voila – that’s it.
Let’s see the straight forward implementation for the small input.
Continue reading









We all like a playback progress bar underneath our media players, so we can see how far we are and, if necesary, drag the thumb to were we want it to be.

