摘要: #include#include#include#include#includeusing namespace std;#define min( x, y ) (x) edges; vector G[maxn]; int a[maxn]; int p[maxn]; vo... 阅读全文
posted @ 2015-05-05 21:52 crazyzhping 阅读(127) 评论(0) 推荐(0)
摘要: #include#include#includeusing namespace std;const int MAXN = 4000 * 100 + 10;const int sigma = 26;const int MAXNn = 300010;const int mod = 20071027;ch... 阅读全文
posted @ 2015-05-05 18:37 crazyzhping 阅读(167) 评论(0) 推荐(0)
摘要: #include#includeusing namespace std;class AVL{public: enum BF { RH = 1 , EH , LH }; class Node { public: Node* lchild; Node*... 阅读全文
posted @ 2015-05-05 10:14 crazyzhping 阅读(123) 评论(0) 推荐(0)