[Topcoder] SRM 605 Div 1 250