
线段树
zhuzhuxia-480
哈哈
展开
-
hdu 1698 线段树之三
第三道线段树: 区段更新,整体求和: Online Judge Online Exercise Online Teaching Online Contests Exercise Author F.A.Q Hand In Hand Online Acmers Forum | Discuss Statistical Char原创 2014-08-01 20:47:30 · 293 阅读 · 0 评论 -
hdu 1754 线段树之二
第二道线段树: 还是挺简单的原创 2014-08-01 17:17:13 · 270 阅读 · 0 评论 -
hdu 1166 线段树之一
第一道线段树: 很基础,每个节点原创 2014-08-01 16:17:01 · 287 阅读 · 0 评论 -
hdu 1540线段树之六(好题)
#include #include #include #include using namespace std; struct p { int lmax; int rmax; int max; int l; int r; }tree[222222]; void construct(int n,int l,int r) { tree[n].l原创 2014-08-06 13:43:53 · 304 阅读 · 0 评论 -
hdu 3016线段树之七
对每一个木板,用线段树去找它左边和原创 2014-08-12 15:31:09 · 296 阅读 · 0 评论