2012年2月13日

poj 3580 SuperMemo 数据结构

摘要: 题意:给一堆操作,维护数列。思路:平衡树 splayP.S. 太恶心了…… 1 #include<iostream> 2 #include<cstring> 3 #include<cmath> 4 using namespace std; 5 #define MAXN 110004 6 #define MAXM 110000 7 struct node 8 { 9 int left,right,father; 10 int value,size,min; 11 int adt; 12 bool rev; 13 }; 14 int INF=987... 阅读全文

posted @ 2012-02-13 22:36 myoi 阅读(577) 评论(0) 推荐(0) 编辑

导航