Solutions to TopCoder SRMs