摘要: --/* POJ_3468_Interval Tree 更新区间 与 h1698 类似,但是你要清楚他们的区别 -- 为负,随时查询任意一个区间,上下面 Author : a_clay Created : 2012-02-04*/#include #include #incl... 阅读全文
posted @ 2014-05-08 16:21 小尼人00 阅读(129) 评论(0) 推荐(0) 编辑
摘要: -/* POJ_3264_Interval Tree 最大最小值之差 Author : a_clay 2014/05/08*/#include #include #include #include #include #include #define mid(x) ((x) >> 1)u... 阅读全文
posted @ 2014-05-08 16:04 小尼人00 阅读(128) 评论(0) 推荐(0) 编辑
摘要: /** * C++ 打印 21 内素数表 */#include #include using namespace std;const int N = 21;int a[N];/** * int b[1034567890]; 可以开这么大的数组 10 位数字的 数组 */int main() { ... 阅读全文
posted @ 2014-05-08 13:49 小尼人00 阅读(126) 评论(0) 推荐(0) 编辑
摘要: popular_cow#include #include #include // INT_MAX#include #include #include #define foreach(i, v) for (__typeof((v).begin()) i = (v).begin(); i != (v)... 阅读全文
posted @ 2014-05-08 09:39 小尼人00 阅读(92) 评论(0) 推荐(0) 编辑