My topcoder solutions