会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
love★maple
博客园
首页
新随笔
联系
管理
订阅
2016年10月25日
SPOJ 375 Query on a tree 树链剖分模板
摘要: 第一次写树剖~#include #include #include #define L(u) u>1; if (locdepth[d[i][1]]) swap(d[i][0],d[i][1]);//make the higher depth node to map the Edge update(1,1,tot2,w[d[i][1]],d[i][2]); //chang...
阅读全文
posted @ 2016-10-25 16:38 love★maple
阅读(130)
评论(0)
推荐(0)
编辑
公告