树结构,树上倍增

Sorry, there is no problem in the problem set