摘要: 题目链接:线段树,点修改。 1 #include <cstdio> 2 #include <cctype> 3 #define lson l, m, rt << 1 4 #define rson m + 1, r, ( rt << 1 ) | 1 5 6 const int MAXN = 100010; 7 const int INF = 2147483645; 8 9 int tree[ MAXN << 2 ]; 10 11 int min( int a, int b ) 12 { 13 return a < b ? a : 阅读全文
posted @ 2012-12-04 20:52 冰鸮 阅读(272) 评论(0) 推荐(0)