水题
文章平均质量分 74
普通网友
这个作者很懒,什么都没留下…
展开
-
2014百度之星第一题Energy Conversion
Energy ConversionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7787 Accepted Submission(s): 1894Problem Description 魔法师百小度也有遇到难题的时原创 2014-05-17 18:04:03 · 1203 阅读 · 0 评论 -
hdu4150(暴力+KMP)
Powerful IncantationTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1006 Accepted Submission(s): 437Problem DescriptionSome dange原创 2013-08-20 10:25:42 · 1314 阅读 · 0 评论 -
HDU1994(情景题)
利息计算Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2139 Accepted Submission(s): 1604Problem Description为自行解决学费,chx勤工俭学收入10000元原创 2013-05-10 21:17:48 · 917 阅读 · 0 评论 -
HDU4542(模拟)
叛逆的小明Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 135 Accepted Submission(s): 94Problem Description叛逆期的小明什么都喜欢反着做,连看数字也是如此(负原创 2013-05-20 22:17:58 · 1046 阅读 · 0 评论 -
hdu4451(组合数)
DressingTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1730 Accepted Submission(s): 734Problem DescriptionWangpeng has N clothes原创 2013-09-10 11:51:14 · 998 阅读 · 0 评论 -
hdu4618(KMP+动态规划)
Palindrome Sub-ArrayTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 317 Accepted Submission(s): 166Problem Description A palindr原创 2013-07-26 15:35:16 · 919 阅读 · 0 评论 -
HDU2800(找规律)
Adding EdgesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 557 Accepted Submission(s): 370Problem DescriptionThere are N+1 point原创 2013-06-18 00:17:23 · 1023 阅读 · 0 评论 -
HDU1256(模拟)
画8Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2870 Accepted Submission(s): 1270Problem Description谁画8画的好,画的快,今后就发的快,学业发达,事业发达原创 2013-05-21 17:52:52 · 1127 阅读 · 0 评论 -
DU 1755(全排+水题)
A Number PuzzleTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 768 Accepted Submission(s): 225Problem DescriptionLele 最近上课的时候都很无聊原创 2013-06-10 10:17:36 · 751 阅读 · 0 评论 -
hdu3347(模拟+STL)
Calculate the expressionTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 686 Accepted Submission(s): 346Problem DescriptionYou may原创 2013-08-17 20:16:25 · 868 阅读 · 0 评论 -
HDU2715(水题)
Herd SumsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 476 Accepted Submission(s): 243Problem DescriptionThe cows in farmer Joh原创 2013-05-21 10:28:44 · 784 阅读 · 0 评论 -
HDU4524(模拟)
郑厂长系列故事——逃离迷宫Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 832 Accepted Submission(s): 421Problem Description 郑厂长没变 还是那个假原创 2013-05-05 11:35:13 · 675 阅读 · 0 评论 -
hdu4245(map)
A Famous Music ComposerTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 691 Accepted Submission(s): 408Problem DescriptionMr. B is原创 2013-09-01 17:55:54 · 919 阅读 · 0 评论 -
HDU4548(模拟)
美素数Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 346 Accepted Submission(s): 141Problem Description 小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多原创 2013-05-19 14:53:14 · 779 阅读 · 0 评论 -
HDU1721(找规律)
BotherTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 256 Accepted Submission(s): 205Problem Description随着物理学的发展,科学家们发现了越来越多的粒子。有原创 2013-06-16 21:04:17 · 912 阅读 · 0 评论 -
hdu4627(最大公约数)
The Unsolvable ProblemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10 Accepted Submission(s): 7Problem DescriptionThere are ma原创 2013-07-30 17:17:36 · 1267 阅读 · 0 评论 -
HDU1719(找规律)
FriendTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1444 Accepted Submission(s): 718Problem DescriptionFriend number are define原创 2013-06-16 21:50:55 · 820 阅读 · 0 评论 -
HDU1708(斐波那契数列)
Fibonacci StringTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2406 Accepted Submission(s): 825Problem DescriptionAfter little原创 2013-05-04 15:12:57 · 1047 阅读 · 0 评论 -
HDU1399(水题)
Starship Hakodate-maruTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 319 Accepted Submission(s): 233Problem DescriptionThe surve原创 2013-05-31 17:18:20 · 825 阅读 · 0 评论 -
hdu4484(模拟)
Hailstone HOTPOTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 426 Accepted Submission(s): 258Problem DescriptionThe hailstone se原创 2013-08-18 14:09:44 · 862 阅读 · 0 评论 -
HDU2156(找规律)
分数矩阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3321 Accepted Submission(s): 1985Problem Description我们定义如下矩阵:1/1 1/2 1/31原创 2013-06-19 01:16:37 · 848 阅读 · 0 评论 -
HDU5595(水题+数学)
求给定区间[l,r]的整数范围内方程 f(x)=a*x*x+b*x+c的最大值和最小值,本题要求1s内解决,直接暴力枚举时间复杂度为O(l*(r-l),而整数i的范围为|i|<=100,一般不会TE,提交一下成功了,才发现是不折不扣的水题。当然,本题也有时间复杂度为O(1)的算法,根据数学公式规律计算,判断二次方程(当然,a=0是不是二次方程)最值点是否在[l,r]内,然后比较最多3个点最少2个点的最大值和最小值。注意取整的处理,这是本题的一个坑:无论正负数都取最接近的整数,C/C++的浮点转整型正好是这原创 2016-01-18 00:00:51 · 857 阅读 · 0 评论