自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Kewowlo

这游戏不好玩

  • 博客(8)
  • 收藏
  • 关注

原创 POJ 2828 Buy Tickets 线段树

#include#include#includeusing namespace std;#define lson l,m,rt<<1#define rson m+1,r,rt<<1|1#define mid (r+l)>>1const int maxn=200300;int node[maxn<<2],a[maxn],b[maxn],ans[maxn];void build(in

2014-06-28 15:53:51 773

原创 POJ 2528 Mayor's posters 离散化线段树

/******************************************离散过程(1-8) (1-3) (6-8)出现了1 3 6 8 ->1 2 3 4海报即变为(1-4) (1-2) (3-4)******************************************/#include#include#include#include

2014-06-27 21:42:30 1048

原创 POJ 3253 Fence Repair 哈夫曼树 优先队列

哈夫曼树的基本概念

2014-06-25 21:29:03 1010

原创 HDU 3496 Watch The Movie 二维背包

#include #include struct node{ int v,t;}a[333];int Max(int a,int b) { return a>b?a:b; } int main(){ int n,t,dp[144][1111],i,j,k,m,time; scanf("%d",&t); while(t--){ scanf("%d%d%d",&

2014-06-24 23:01:37 718

原创 HDU 4585 Shaolin STL map 水

#include #include #include #include #include #include #include #include #include #include #include usin

2014-06-24 09:10:53 788

原创 POJ 2777 Count Color 线段树区间更新位运算

C A B C 是更新 A-B段位颜色C;P A B    是查询 A - B 有种多少颜色;因为只有3

2014-06-22 13:27:33 942 2

原创 HDU 3577 Fast Arrangement 线段树 区间更新

原题链接

2014-06-21 13:03:21 837

原创 HUST 1328 String KMP

题目地址

2014-06-20 18:23:44 726

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除