ITeye博客

a_clay的博客

a_clay · 共 1 篇文章

线段树-离散化 poj 2528 贴海报

/* Subject: Interval Tree Author : a_clay Created Date : 2012-02-05 Sample : poj 2528 贴海报 - 离散化经典 / #include #include #include #include #include #define Bug cout << "here\n"; #define B(x) (x >> 1) using namespace std; const int N = 10005; const int M = 10000010; struct node { int a, b; int val; // …

2012-03-23 11:02 · 数据结构与算法 · 评论(0)