学了一天的树状数组了 https://blog.nowcoder.net/n/6cf032eb3ab442d28a015499dfcb2b95