[Topcoder] SRM 610 Div 1 250