RT,为什么我自己写的树链剖分比倍增慢了0.1s,是我哪里写丑了??谢谢dalao们指点!!
树链剖分: https://www.luogu.com.cn/record/33214155
倍增: https://www.luogu.com.cn/record/33214023