[Topcoder] SRM 625 Div 1 250