Topcoder solutions