自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 prime

int prime(){ memset(visit,0,sizeof(visit)); for(i=1; i<=m; i++) { dis[i]=map[1][i]; } visit[1]=1; int count=0; for(i=1; i<m; i++) { int min=MAX;

2015-03-02 17:00:55 251

转载 kruskal

int pre[107],i,j; struct node { int a,b,lenth; }path[107]; void init() { for(i=0;i<107;i++) pre[i]=i; } int find(int x) { while(x!=pre[x]) x=pre[x];

2015-03-02 16:57:42 273

原创 poj 1654

求面积Crawling in process... Crawling failed Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d & %I64u Submit Status Description You are going to com

2015-02-06 16:50:00 291

原创 sdjzuoj 2558:Rescue The Princess

题目描述本题为2013年山东省省赛PROBLEM A Several days ago, a beast caught a beautiful princess and the princess was put in prison. To rescue the princess, a prince who wanted to marry  the princess set out immedia

2015-02-06 16:45:47 265

转载 线段树模板

struct node{ ll l,r,mid,val,mark;}tree[M<<2];ll s[M];void build(ll left,ll right,ll i)//建树{ tree[i].l=left;tree[i].r=right; tree[i].mid=(left+right)>>1;tree[i].mark=0; if(left=

2015-02-06 16:05:42 241

原创 SDJZU_新生_KMP/字符串

E - OulipoCrawling in process...Crawling failedTime Limit:1000MS    Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmitStatus DescriptionThe French author Geor

2015-02-04 16:33:15 295

原创 SDJZU_新生_KMP/字符串

做了前面的几道题目,了解了KMP的一般步骤,才会做的这道题。只要理解了题意,就可以很简单的做出来了。C - 剪花布条Crawling in process...Crawling failedTime Limit:1000MS    Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmitSt

2015-02-04 16:28:38 276

原创 SDJZU_新生_KMP/字符串

A - Number SequenceCrawling in process...Crawling failedTime Limit:5000MS    Memory Limit:32768KB     64bit IO Format:%I64d & %I64uSubmitStatus DescriptionGiven two sequences

2015-02-04 16:23:24 258

原创 light oj 1088

Points in Segments(二分)Crawling in process...  Crawling failedTime Limit:2000MS    Memory Limit:32768KB     64bit IO Format:%lld & %lluSubmitStatus DescriptionGiven n poin

2015-02-04 16:11:48 507

原创 hdoj1241

Oil DepositsTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14538    Accepted Submission(s): 8380Problem DescriptionThe GeoSurvC

2015-02-04 16:00:32 293

原创 poj1979

Red and BlackTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 23928 Accepted: 12935DescriptionThere is a rectangular room, covered with square tiles. E

2015-02-04 15:48:45 260

原创 A - Lake Counting

A - Lake CountingCrawling in process...Crawling failedTime Limit:1000MS    Memory Limit:65536KB     64bit IO Format:%I64d & %I64uSubmitStatusDescription

2015-02-03 19:51:02 406

空空如也

空空如也

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

TA关注的人

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