自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 HDU4707

很水的一个题目,但一开始却错误理解题意,以为“人”要自己去找宠物,去几个点让后在与该点的距离小于D时,找到宠物。可?。。。。。看题很重要啊!理解题意很重要啊! # include # include # define maxn 100000 using namespace std; int T,N,D,num; vectorG[maxn]; int vis[maxn],dis[max

2013-09-09 23:43:00 391

原创 1004

二分 加 kruskal  结果错误 伤不起啊 # include # include # include # define maxe 100010 using namespace std; int a[maxe],b[maxe],c[maxe]; int value[maxe],w[maxe],cc[maxe]; int n,m,r,sum=0; int vis[10000],

2013-09-03 23:22:07 406

原创 La 3942

# include # include # define maxnode 1000000 # define sigma_size 26 # define mod 20071207 int ch[maxnode][sigma_size]; int val[maxnode]; int sz; int idx(char c) { return c-'a'; }     void

2013-09-02 19:48:34 435

原创 poj 2406

Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concatenation as multiplication, exponentiation by a non-

2013-08-26 21:30:55 373

空空如也

空空如也

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

TA关注的人

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