TopCoder SRM591 div2 250