TopCoder Algorithm Single Round Match Solutions