Fourth assignment solution

Google Code Jam 2011


In just a few hours it will start the Qualification Round for CodeJam. CodeJam is an open contest for programmers to show how good they are. Winner can get up to $10.000 in cash.