自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

每天心塞一点点

you are the one

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

原创 【扫描线】【线段树】UVa11983 Weird Advertisement

各种暴力 #include #include #include #include using namespace std;const int Lmax = 60005;struct Line { int x, down, up; int cover; bool operator < (const Line &b) const { return x

2015-07-27 12:57:56 802

原创 【线段树】spoj GSS2 Can you answer these queries II

写了三个小时的线段树也是醉了 = =PushDown手贱了一下于是一直23333#include #include #include #include #include using namespace std;const int maxN = 100005;#define lc (u << 1)#define rc (u << 1 | 1)namespace

2015-07-27 12:53:28 965

原创 【Treap】poj1442 Black Box

七月了。NOI也结束了。题目点这里题意:有个黑箱子。有两个数组A[1...N] Q[1...M] 其中A数组表示依次往黑箱子里加入A[i]这个数 Q[i]表示在加入了A[Q[i]]以后查询箱子里第i大的数正解大概不是treap。。不过也就80行。。。#include #include #include using namespace std;co

2015-07-21 20:18:57 1064

空空如也

空空如也

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

TA关注的人

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