My solutions to topcoder SRM