随笔分类 -  线段树

POJ-3468 A Simple Problem with Integers
摘要:http://poj.org/problem?id=3468第一次手写的线段树,以后就用这个做模板好了。自己风格的线段树:(区段更新 1 #define maxn 100005 2 #define ls(p) p=L && R>=r){37 t[p].f+=v;38 ... 阅读全文

posted @ 2013-07-13 01:30 KimKyeYu 阅读(324) 评论(0) 推荐(0)

导航