Solutions for the Fourth York Programming Contest 2005

If you have questions, feel free to send email to the coaches about any of these.

Chris Thomas sent us his solutions as well.

All files used for this contest can be found here. The .in files are the input files the judges used to test your programs. The corresponding expected output is in the .out files. Try them out with your programs!

Interesting trivia about problem B. There are only 83 numbers that would satisfy Zaphod. They are the first 83 numbers in file B.in. Check out the integer sequence that was the inspiration for this problem.