solutions to topcoder srm