前缀和 & 差分
Untitled
prefixsum = list(itertools.accumulate(arr))