TopCorder SRM 584 div2 250