区间树/线段树 Fenwick
文章平均质量分 79
BryantMark
这个作者很懒,什么都没留下…
展开
-
HDU 4189
#include #include #include #include #include #include using namespace std; const int maxn = 151111; const int INF = 2147483647; typedef long long LL; typedef pair pii; #define lson l,m,rt<<1 #define r原创 2013-06-06 14:00:05 · 550 阅读 · 0 评论 -
HDU 4614
#include #include #include #include #include #include #include using namespace std; #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 typedef pair PII; typedef long long LL; const int maxn = 1原创 2013-07-26 04:28:05 · 369 阅读 · 0 评论 -
HDU 4605
#pragma comment(linker,"/STACK:102400000,102400000") #include #include #include #include #include #include #include using namespace std; typedef vector VI; typedef pair PII; const int maxn =原创 2013-07-29 01:05:58 · 443 阅读 · 0 评论