摘要:
http://acm.timus.ru/problem.aspx?space=1&num=1126简单的线段树求区间最值 1 #include 2 #include 3 #include 4 using namespace std; 5 const int N=100002; 6 int a[N],ans ; 7 struct node 8 { 9 int l,r,Max;10 } tree[N*4];11 void build(int t,int l,int r)12 {13 tree[t].l = l;14 tree[t].r = r;15 if (l... 阅读全文
posted @ 2014-04-01 19:10
N_ll
阅读(203)
评论(0)
推荐(0)

浙公网安备 33010602011771号