My topcoder SRM solutions