I HATE IT 伸展树
摘要:
View Code #include <stdio.h>#include <string.h>#include <algorithm>#include <stdlib.h>#include <math.h>#include <algorithm>#include <time.h>using namespace std;int left[200100], right[200100], maxn[200100], pf[200100], value[200100],root; //值为-1的点表示该结点为空 voi 阅读全文
posted @ 2012-03-05 00:54 more think, more gains 阅读(175) 评论(0) 推荐(0) 编辑