solutions to topcoder