正文
增加 1 行删除 1 行
198 行未改动全部展开199200201202203204205206207208209109 行未改动全部展开198 行未改动全部展开while(m--){int u=read(),v=read();printf("%d\n",lca(u,v));}return 0;}```::::## [P3384 【模板】重链剖分 / 树链剖分](https://www.luogu.com.cn/problem/P3384)板题,树剖完用线段树维护链109 行未改动全部展开198 行未改动全部展开199200201202203204205206207208209109 行未改动全部展开198 行未改动全部展开while(m--){int u=read(),v=read();printf("%d\n",lca(u,v));}return 0;}```## [P3384 【模板】重链剖分 / 树链剖分](https://www.luogu.com.cn/problem/P3384)板题,树剖完用线段树维护链109 行未改动全部展开