上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 87 下一页
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2095 Problem Description In the new year party, everybody will get a "special present".Now it's your turn to 阅读全文
posted @ 2018-07-27 23:17 _Zlrrr 阅读(82) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2084 Problem Description 在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的:有如下所示的数塔,要求从顶层走到底层,若每一步只能走到相邻的结点,则经过的结点的数字之和最大是多少? 阅读全文
posted @ 2018-07-27 23:15 _Zlrrr 阅读(123) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2061 Problem Description background:A new semester comes , and the HDU also meets its 50th birthday. No matt 阅读全文
posted @ 2018-07-27 23:14 _Zlrrr 阅读(387) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2058 Problem Description Given a sequence 1,2,3,......N, your job is to calculate all the possible sub-seque 阅读全文
posted @ 2018-07-27 23:12 _Zlrrr 阅读(201) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805263964422144 下图是上海某校的新学期开学寄语:天将降大任于斯人也,必先删其微博,卸其 QQ,封其电脑,夺其手机,收其 ipad,断其 wifi,使其百无聊赖, 阅读全文
posted @ 2018-07-27 23:08 _Zlrrr 阅读(171) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805272659214336 本题的基本要求非常简单:给定N个实数,计算它们的平均值。但复杂的是有些输入数据可能是非法的。一个“合法”的输入是[-1000,1000]区间内的 阅读全文
posted @ 2018-07-27 23:07 _Zlrrr 阅读(313) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805273284165632 在不打扰居民的前提下,统计住房空置率的一种方法是根据每户用电量的连续变化规律进行判断。判断方法如下: 在观察期内,若存在超过一半的日子用电量低于 阅读全文
posted @ 2018-07-27 23:06 _Zlrrr 阅读(145) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805262018265088 文本压缩有很多种方法,这里我们只考虑最简单的一种:把由相同字符组成的一个连续的片段用这个字符和片段中含有这个字符的个数来表示。例如 ccccc  阅读全文
posted @ 2018-07-26 07:12 _Zlrrr 阅读(444) 评论(0) 推荐(0)
摘要: https://pintia.cn/problem-sets/994805260223102976/problems/994805297229447168 科学计数法是科学家用来表示很大或很小的数字的一种方便的方法,其满足正则表达式[+-][1-9]"."[0-9]+E[+-][0-9]+,即数字的 阅读全文
posted @ 2018-07-26 07:10 _Zlrrr 阅读(289) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2078 Problem Description 为了能过个好年,xhd开始复习了,于是每天晚上背着书往教室跑。xhd复习有个习惯,在复习完一门课后,他总是挑一门更简单的课进行复习,而他复习这门课的效率为两门课的难度 阅读全文
posted @ 2018-07-26 07:09 _Zlrrr 阅读(234) 评论(0) 推荐(0)
上一页 1 ··· 69 70 71 72 73 74 75 76 77 ··· 87 下一页