Solutions for Topcoder SRMs