SRM 586 EASY PiecewiseLinearFunction