DP/动态规划/贪心
文章平均质量分 81
zlj19368
这个作者很懒,什么都没留下…
展开
-
hdu 1789 Doing Homework again
Doing Homework again Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10616 Accepted Submission(s): 6230 Problem Description Igna原创 2016-04-29 20:26:33 · 336 阅读 · 0 评论 -
hdu 1024
Max Sum Plus Plus Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 24332 Accepted Submission(s): 8356 Problem Description Now I t原创 2016-05-18 17:54:43 · 311 阅读 · 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 · 392 阅读 · 0 评论 -
uva 357 Let Me Count The Ways
Let Me Count The Ways Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu Submit Status Description After making a purchase at a large departme原创 2016-05-06 16:53:48 · 417 阅读 · 0 评论 -
NYOJ 710 外星人的供给站
外星人的供给站 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 外星人指的是地球以外的智慧生命。外星人长的是不是与地球上的人一样并不重要,但起码应该符合我们目前对生命基本形式的认识。比如,我们所知的任何生命都离不开液态水,并且都是基于化学元素碳(C)的有机分子组合成的复杂有机体。 42岁的天文学家Dr. Kong已经执著地观测ZDM-777星球十多年了,这个原创 2016-05-06 15:47:46 · 412 阅读 · 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 · 632 阅读 · 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 · 397 阅读 · 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 · 318 阅读 · 0 评论 -
Worm
Worm Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3622 Accepted Submission(s): 2317 Problem Description 自从见识了平安夜苹果的涨价后,Lele就在原创 2016-04-30 18:03:48 · 262 阅读 · 0 评论 -
免费馅饼
免费馅饼 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 38444 Accepted Submission(s): 13146 Problem Description 都说天上不会掉馅饼,但有一天gameb原创 2016-04-30 17:37:21 · 336 阅读 · 2 评论 -
poj 2376 Cleaning Shifts
Cleaning Shifts Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16370 Accepted: 4176 Description Farmer John is assigning some of his N (1原创 2016-04-30 16:46:04 · 286 阅读 · 0 评论 -
History Grading
History GradingCrawling in process... Cr原创 2016-04-29 21:39:14 · 309 阅读 · 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): 20525 Problem Description 在讲述DP算法的时候,一个经典的例子就是数塔问题,原创 2016-05-21 10:06:54 · 2059 阅读 · 0 评论