摘要: 题面树链剖分,边权存到点上,注意边界处理#include#include#include#define maxn 100005using namespace std;int n,m;struct edge{ int to,ne,w; }b[maxn];int ... 阅读全文
posted @ 2017-08-16 06:06 HunterxHunterl 阅读(125) 评论(0) 推荐(0) 编辑