
哈希表
SCUT_Pein
这个作者很懒,什么都没留下…
展开
-
POJ3349--Snowflake Snow Snowflakes--哈希表
DescriptionYou may have heard that no two snowflakes are alike. Your task is to write a program to determine whether this is really true. Your program will read information about a collection of s原创 2013-02-22 22:25:09 · 748 阅读 · 0 评论 -
POJ1840-Eqs
優YoU http://user.qzone.qq.com/289065406/blog/1304402322大致题意:给出一个5元3次方程,输入其5个系数,求它的解的个数其中系数 ai∈[-50,50] 自变量xi∈[-50,0)∪(0,50] 注意: 若x1 =a, x2=b ,x3=c ,x4=d,x5=e时,与 x1=b, x2=a ,x3=c ,x4 =d,转载 2013-02-27 23:52:53 · 442 阅读 · 0 评论 -
HDU1004--Let the Balloon Rise
Problem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem. When the contest i原创 2013-04-10 09:16:34 · 791 阅读 · 0 评论 -
HDU1381--Crazy Search
Problem DescriptionMany people like to solve hard puzzles some of which may lead them to madness. One such puzzle could be finding a hidden prime number in a given text. Such number could be the num原创 2013-04-10 13:49:31 · 1026 阅读 · 0 评论 -
HDU4020--Ads Proposal
Problem DescriptionThere are N customers set their M different advertisements on Baidu. Each advertisement is owned by single customer. The ads system of Baidu records the number of clicks of each a原创 2013-04-12 13:56:16 · 871 阅读 · 0 评论 -
HDU1496--Equations
Problem DescriptionConsider equations having the following form: a*x1^2+b*x2^2+c*x3^2+d*x4^2=0a, b, c, d are integers from the interval [-50,50] and any of them cannot be 0.It is consider原创 2013-04-12 14:38:58 · 1020 阅读 · 0 评论 -
POJ3007--Organize Your Train part II
DescriptionRJ Freight, a Japanese railroad company for freight operations has recently constructed exchange lines at Hazawa, Yokohama. The layout of the lines is shown in Figure 1.Figure 1: La原创 2013-04-18 19:21:14 · 1376 阅读 · 0 评论 -
POJ2513--Colored Sticks
DescriptionYou are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the sticks in a straight line such that the colors of the endpoints原创 2013-03-21 09:49:42 · 860 阅读 · 0 评论