树链剖分
know_heng
步步皆题
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU 3966 (树链剖分对点权值,模板)
Our protagonist is the handsome human prince Aragorn comes from The Lord of the Rings. One day Aragorn finds a lot of enemies who want to invade his kingdom. As Aragorn knows, the enemy has N camps ou原创 2017-05-03 16:45:14 · 307 阅读 · 0 评论 -
SPOJ 375 (树链剖分对边权值,模板)
You are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. We will ask you to perfrom some instructions of the following form: CHANGE i ti : chang原创 2017-05-03 14:59:09 · 316 阅读 · 0 评论 -
LightOJ - 1348 (树链剖分)
Finally the Great Magical Lamp was in Aladdin's hand. Now he wanted to return home. But he didn't want to take any help from the Genie because he thought that it might be another adventure for him. Al原创 2017-05-04 15:58:54 · 295 阅读 · 0 评论 -
树链剖分练习题
kuangbin大神练习题专场:点击打开链接原创 2017-05-04 17:29:08 · 428 阅读 · 0 评论
分享