Segment Tree Modify(LintCode 203):

Problem