码迷,mamicode.com
首页 >  
搜索关键字:线段树模版    ( 13个结果
二维线段树模版
HDU 4819 二维线段树模版题 #include #include #include using namespace std; const int INF = 999999999; const int maxn = 810; int a[maxn][maxn]; int st_min[maxn<<2][maxn<<2]; int st_max[maxn<<2][maxn<<2]; in...
分类:其他好文   时间:2014-09-22 21:07:24    阅读次数:288
HDOJ 1823 Luck and Love
二维线段树模版题。。。 Luck and Love Time Limit: 10000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5397    Accepted Submission(s): 1348 Problem Descripti...
分类:其他好文   时间:2014-08-29 22:44:18    阅读次数:402
线段树模版
#include #include #include #include #include #include #include #include #define maxn 8080 #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 #define ALL %I64d using namespace std; typedef long ...
分类:其他好文   时间:2014-08-16 12:35:20    阅读次数:240
13条   上一页 1 2
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!