TopCoder SRM code