数据结构,树状数组

Sorry, there is no problem in the problem set