Added TopCoder SRM solution