
DP/动态规划/贪心
文章平均质量分 82
zlj19368
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu 1789 Doing Homework again
Doing Homework againTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10616 Accepted Submission(s): 6230Problem DescriptionIgna原创 2016-04-29 20:26:33 · 370 阅读 · 0 评论 -
hdu 1024
Max Sum Plus PlusTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 24332 Accepted Submission(s): 8356Problem DescriptionNow I t原创 2016-05-18 17:54:43 · 2574 阅读 · 0 评论 -
NYOJ 308 Substring
Substring时间限制:1000 ms | 内存限制:65535 KB难度:1描述You are given a string input. You are to find the longest substring of input such that the reversal of the substring is also a substr原创 2016-05-07 10:33:50 · 436 阅读 · 0 评论 -
uva 357 Let Me Count The Ways
Let Me Count The Ways Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %lluSubmitStatus DescriptionAfter making a purchase at a large departme原创 2016-05-06 16:53:48 · 463 阅读 · 0 评论 -
NYOJ 710 外星人的供给站
外星人的供给站时间限制:1000 ms | 内存限制:65535 KB难度:3描述外星人指的是地球以外的智慧生命。外星人长的是不是与地球上的人一样并不重要,但起码应该符合我们目前对生命基本形式的认识。比如,我们所知的任何生命都离不开液态水,并且都是基于化学元素碳(C)的有机分子组合成的复杂有机体。42岁的天文学家Dr. Kong已经执著地观测ZDM-777星球十多年了,这个原创 2016-05-06 15:47:46 · 452 阅读 · 0 评论 -
NYOJ 715 Adjacent Bit Counts
Adjacent Bit Counts时间限制:1000 ms | 内存限制:65535 KB难度:4描述For a string of n bits x1, x2, x3, …, xn, the adjacent bit count of the string is given by fun(x) = x1*x2 + x2*x3 +原创 2016-05-06 13:59:07 · 680 阅读 · 0 评论 -
NYOJ 269 VF (在1到10^9范围内找各个位数相加等于S的种数)
VF时间限制:1000 ms | 内存限制:65535 KB难度:2描述Vasya is the beginning mathematician. He decided to make an important contribution to the science and to become famous all over the world.原创 2016-05-13 14:33:31 · 450 阅读 · 0 评论 -
NYOJ 251 AMAZING AUCTION
AMAZING AUCTION时间限制:3000 ms | 内存限制:65535 KB难度:4描述Recently the auction house has introduced a new type of auction, the lowest price auction. In this new system, people compete f原创 2016-04-30 19:00:18 · 353 阅读 · 0 评论 -
Worm
WormTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3622 Accepted Submission(s): 2317Problem Description自从见识了平安夜苹果的涨价后,Lele就在原创 2016-04-30 18:03:48 · 299 阅读 · 0 评论 -
免费馅饼
免费馅饼Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38444 Accepted Submission(s): 13146Problem Description都说天上不会掉馅饼,但有一天gameb原创 2016-04-30 17:37:21 · 387 阅读 · 2 评论 -
poj 2376 Cleaning Shifts
Cleaning ShiftsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16370 Accepted: 4176DescriptionFarmer John is assigning some of his N (1原创 2016-04-30 16:46:04 · 320 阅读 · 0 评论 -
History Grading
History GradingCrawling in process... Cr原创 2016-04-29 21:39:14 · 352 阅读 · 0 评论 -
hdu 2084 数塔(简单的dp)
数塔Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 34402 Accepted Submission(s): 20525Problem Description在讲述DP算法的时候,一个经典的例子就是数塔问题,原创 2016-05-21 10:06:54 · 2107 阅读 · 0 评论