TopCoder SRM145 div1 250P