自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

志当存高远

新博客地址blog.dorastory.com

  • 博客(16)
  • 资源 (2)
  • 收藏
  • 关注

转载 各种字符串Hash函数比较

<br /> <br />常用的字符串Hash函数还有ELFHash,APHash等等,都是十分简单有效的方法。这些函数使用位运算使得每一个字符都对最后的函数值产生影响。另外还有以<br /> <br />MD5和SHA1为代表的杂凑函数,这些函数几乎不可能找到碰撞。<br />常用字符串哈希函数有BKDRHash,APHash,DJBHash,JSHash,RSHash,SDBMHash,PJWHash,ELFHash等等。对于以上几种哈希函数,我对其进行了一个小小<br /> <br />的评测。<br

2011-04-21 20:55:00 1028

原创 poj 3691

<br />DNA repairTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 2936 Accepted: 1297<br />Description<br />Biologists finally invent techniques of repairing DNA that contains segments causing kinds of inherited diseases. For the sake of simplicity

2011-04-29 19:56:00 1129

原创 poj 1256

<br /> AnagramTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 13577 Accepted: 5538<br />DescriptionYou are to write a program that has to generate all possible words from a given set of letters. <br />Example: Given the word "abc", your program s

2011-04-28 19:37:00 1080

原创 poj 1731

<br /> OrdersTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 6638 Accepted: 4187<br />DescriptionThe stores manager has sorted all kinds of goods in an alphabetical order of their labels. All the kinds having labels starting with the same letter

2011-04-28 19:10:00 806

原创 hdu 3732

<br /> <br />Ahui Writes Word<br />Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)<br />Total Submission(s): 257    Accepted Submission(s): 115<br /><br /><br />Problem DescriptionWe all know that English is very importa

2011-04-27 20:53:00 836

原创 poj 2644

MazeTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 792 Accepted: 140 Special JudgeDescriptionYou have been blindfolded and deposited someplace in a maze. You have no idea where you are. You do know, however, that the maze is laid out on a grid,

2011-04-27 11:46:00 953

原创 poj 2046

<br /> GapTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 1286 Accepted: 592<br />DescriptionLet's play a card game called Gap. <br />You have 28 cards labeled with two-digit numbers. The first digit (from 1 to 4) represents the suit of the card,

2011-04-21 20:31:00 1389 1

原创 poj 2004

<br /> Mix and BuildTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 3282 Accepted: 974Case Time Limit: 2000MS Special Judge<br />DescriptionIn this problem, you are given a list of words (sequence of lower case letters). From this list, find the

2011-04-20 19:57:00 828

原创 poj 2818

<br /> Making ChangeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1125 Accepted: 627<br />DescriptionGrocery stores have long struggled with how to avoid long checkout lines that leave customers frustrated. The "10 item or less" express line ha

2011-04-17 20:39:00 873

原创 poj 1151 Atlantis(线段树 扫描线)

AtlantisTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8759 Accepted: 3457DescriptionThere are several ancient Greek texts that contain descriptions of t

2011-04-11 18:22:00 896

转载 让爱编译通过

<br />今天看了一个CSDN上的帖子,感觉写的很好,后来知道是VS2010的宣传片,拍的确实很好,很有感触,看了视频感触更多。收集了下视频,在这里再转发以下。以下是全文和我整理的视频地址:<br /><br />十点了,不知道,你的code写到了哪一行。从未想过,这些符号能让一个人如此着迷。兴奋,高兴,沉默,忧虑。 写code是你的快乐,看你写code成为我的快乐。喜欢你的认真却不想你总给自己找压力 现在你是不是又在code较劲啊。如果可能,我来做你下一行code好不好?<br /><br />今天跟你

2011-04-10 19:44:00 911

原创 poj 1177 & hdu 1828 Picture(线段树+离散化)

PictureTime Limit: 6000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1095    Accepted Submission(s): 608Problem DescriptionA number of rectang

2011-04-09 16:18:00 748

原创 poj 2032

<br /> Square CarpetsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 529 Accepted: 155<br />DescriptionMr. Frugal bought a new house. He feels deeply in love with his new house because it has a comfortable living room in which he can put himself

2011-04-09 10:04:00 916 1

原创 poj 1273

<br /> Drainage DitchesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 28720 Accepted: 10478<br />DescriptionEvery time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered by w

2011-04-04 10:45:00 676

原创 poj 2516

<br /> Minimum CostTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 8085 Accepted: 2653<br />DescriptionDearboy, a goods victualer, now comes to a big problem, and he needs your help. In his sale area there are N shopkeepers (marked from 1 to N) w

2011-04-03 13:02:00 811

原创 poj 2274

<br /> The RaceTime Limit: 15000MS Memory Limit: 65536KTotal Submissions: 2380 Accepted: 460Case Time Limit: 3000MS<br />DescriptionDuring the Annual Interstellar Competition for Tuned Spaceships, N spaceships will be competing. Each spaceship i is tuned i

2011-04-03 12:26:00 1300

JSP网页播放器 (调用WMP)

用jsp写的一个网页播放器,用到servlet,javabean,jsp,javascript,数据库为mysql

2012-06-14

线性规划与网络流24题

搞了好久终于搞定,线性规划与网络流24题的大部分题目,不过机器人路径问题没解决,还有第22题貌似数据的问题。。。话说最后一题贴错代码了,改不回来啊~~~

2011-08-06

空空如也

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

TA关注的人

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