TopCoder SRM, 595 div 2, 250 AC.