蒟蒻树剖只有30分,在线求助

P3384 【模板】重链剖分/树链剖分

@[smartpig](/user/129647) ```cpp void cz2(int x,int y) ... res+=query(1,1,cnt,id[x],id[y]); ... ``` 这句话要取模
by oisdoaiu @ 2019-11-13 08:37:05


过了! 谢谢大佬!
by smartpig @ 2019-11-13 08:54:12


|